logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ihabu...@apache.org
Subject svn commit: r1163520 - /logging/log4php/trunk/src/main/php/helpers/LoggerPatternParser.php
Date Wed, 31 Aug 2011 08:07:16 GMT
Author: ihabunek
Date: Wed Aug 31 08:07:16 2011
New Revision: 1163520

URL: http://svn.apache.org/viewvc?rev=1163520&view=rev
Log:
LOG4PHP-148: Removed call to non-existing pattern converter.

Modified:
    logging/log4php/trunk/src/main/php/helpers/LoggerPatternParser.php

Modified: logging/log4php/trunk/src/main/php/helpers/LoggerPatternParser.php
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/main/php/helpers/LoggerPatternParser.php?rev=1163520&r1=1163519&r2=1163520&view=diff
==============================================================================
--- logging/log4php/trunk/src/main/php/helpers/LoggerPatternParser.php (original)
+++ logging/log4php/trunk/src/main/php/helpers/LoggerPatternParser.php Wed Aug 31 08:07:16
2011
@@ -302,16 +302,6 @@ class LoggerPatternParser {
 				$pc = new LoggerBasicPatternConverter($this->formattingInfo, self::THREAD_CONVERTER);
 				$this->currentLiteral = '';
 				break;
-			case 'u':
-				if($this->i < $this->patternLength) {
-					$cNext = $this->pattern{$this->i};
-					if(ord($cNext) >= ord('0') and ord($cNext) <= ord('9')) {
-						$pc = new LoggerUserFieldPatternConverter($this->formattingInfo, (string)(ord($cNext)
- ord('0')));
-						$this->currentLiteral = '';
-						$this->i++;
-					}
-				}
-				break;
 			case 'x':
 				$pc = new LoggerBasicPatternConverter($this->formattingInfo, self::NDC_CONVERTER);
 				$this->currentLiteral = '';



Mime
View raw message