[ 
https://issues.apache.org/jira/browse/LOG4PHP-148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ivan Habunek resolved LOG4PHP-148.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2
         Assignee: Ivan Habunek

The issue is resolved in trunk, will be part of 2.2.

Thank you for reporting this.

> LoggerUserFieldPatternConverter class missing in log4php archive
> ----------------------------------------------------------------
>
>                 Key: LOG4PHP-148
>                 URL: https://issues.apache.org/jira/browse/LOG4PHP-148
>             Project: Log4php
>          Issue Type: Bug
>          Components: Code
>    Affects Versions: 2.1
>            Reporter: Karan Jain
>            Assignee: Ivan Habunek
>             Fix For: 2.2
>
>
> In helpers/LoggerPatternParser.php, Line 305, the code makes use of a class 
> called LoggerUserFieldPatternConverter whereas this class is not present 
> anywhere in the archive.
> The code fragment looks like -
> 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;

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to