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


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