Index: branches/5.2.x/core/kernel/utility/logger.php =================================================================== diff -u -N -r16426 -r16434 --- branches/5.2.x/core/kernel/utility/logger.php (.../logger.php) (revision 16426) +++ branches/5.2.x/core/kernel/utility/logger.php (.../logger.php) (revision 16434) @@ -1,6 +1,6 @@ $_GET, '_POST' => $_POST, '_COOKIE' => $_COOKIE); + $request_data = array( + 'Headers' => $this->Application->HttpQuery->getHeaders(), + ); - foreach ($request_variables as $title => $data) { + $request_variables = Array('_GET' => $_GET, '_POST' => $_POST, '_COOKIE' => $_COOKIE); + + foreach ( $request_variables as $title => $data ) { if ( !$data ) { continue; } @@ -731,7 +734,7 @@ { if ( !$this->_logRecord || $this->_logRecord['LogLevel'] > $this->_maxLogLevel || $this->_state == self::STATE_DISABLED ) { // nothing to save OR less detailed logging requested OR disabled - return true; + return false; } $this->_logRecord['LogMemoryUsed'] = memory_get_usage();