logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ihabu...@apache.org
Subject svn commit: r1308822 - in /logging/log4php/trunk/src/main/php: LoggerAutoloader.php layouts/LoggerLayoutPattern.php pattern/LoggerPatternConverterLocation.php
Date Tue, 03 Apr 2012 11:28:20 GMT
Author: ihabunek
Date: Tue Apr  3 11:28:20 2012
New Revision: 1308822

URL: http://svn.apache.org/viewvc?rev=1308822&view=rev
Log:
Fixed the %location conversion pattern in Pattern layout.

Modified:
    logging/log4php/trunk/src/main/php/LoggerAutoloader.php
    logging/log4php/trunk/src/main/php/layouts/LoggerLayoutPattern.php
    logging/log4php/trunk/src/main/php/pattern/LoggerPatternConverterLocation.php

Modified: logging/log4php/trunk/src/main/php/LoggerAutoloader.php
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/main/php/LoggerAutoloader.php?rev=1308822&r1=1308821&r2=1308822&view=diff
==============================================================================
--- logging/log4php/trunk/src/main/php/LoggerAutoloader.php (original)
+++ logging/log4php/trunk/src/main/php/LoggerAutoloader.php Tue Apr  3 11:28:20 2012
@@ -99,6 +99,7 @@ class LoggerAutoloader {
 		'LoggerPatternConverterLevel' => '/pattern/LoggerPatternConverterLevel.php',
 		'LoggerPatternConverterLine' => '/pattern/LoggerPatternConverterLine.php',
 		'LoggerPatternConverterLiteral' => '/pattern/LoggerPatternConverterLiteral.php',
+		'LoggerPatternConverterLocation' => '/pattern/LoggerPatternConverterLocation.php',
 		'LoggerPatternConverterLogger' => '/pattern/LoggerPatternConverterLogger.php',
 		'LoggerPatternConverterMDC' => '/pattern/LoggerPatternConverterMDC.php',
 		'LoggerPatternConverterMessage' => '/pattern/LoggerPatternConverterMessage.php',

Modified: logging/log4php/trunk/src/main/php/layouts/LoggerLayoutPattern.php
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/main/php/layouts/LoggerLayoutPattern.php?rev=1308822&r1=1308821&r2=1308822&view=diff
==============================================================================
--- logging/log4php/trunk/src/main/php/layouts/LoggerLayoutPattern.php (original)
+++ logging/log4php/trunk/src/main/php/layouts/LoggerLayoutPattern.php Tue Apr  3 11:28:20
2012
@@ -55,6 +55,9 @@ class LoggerLayoutPattern extends Logger
 		
 		'F' => 'LoggerPatternConverterFile',
 		'file' => 'LoggerPatternConverterFile',
+			
+		'l' => 'LoggerPatternConverterLocation',
+		'location' => 'LoggerPatternConverterLocation',
 		
 		'L' => 'LoggerPatternConverterLine',
 		'line' => 'LoggerPatternConverterLine',

Modified: logging/log4php/trunk/src/main/php/pattern/LoggerPatternConverterLocation.php
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/main/php/pattern/LoggerPatternConverterLocation.php?rev=1308822&r1=1308821&r2=1308822&view=diff
==============================================================================
--- logging/log4php/trunk/src/main/php/pattern/LoggerPatternConverterLocation.php (original)
+++ logging/log4php/trunk/src/main/php/pattern/LoggerPatternConverterLocation.php Tue Apr
 3 11:28:20 2012
@@ -25,7 +25,7 @@
  * @package log4php
  * @subpackage pattern
  */
-class LoggerPatternConverterLine extends LoggerPatternConverter {
+class LoggerPatternConverterLocation extends LoggerPatternConverter {
 
 	public function convert(LoggerLoggingEvent $event) {
 		return 



Mime
View raw message