Uploaded image for project: 'Log4php'
  1. Log4php
  2. LOG4PHP-148

LoggerUserFieldPatternConverter class missing in log4php archive

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0
    • Code
    • None

    Description

      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;

      Attachments

        Activity

          People

            juice Ivan Habunek
            karanj Karan Jain
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: