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

LoggerClassNamePatternConverter accessing private property

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.1.0
    • Code
    • None
    • PHP 5.3.1

    Description

      Set up logging configuration with pattern "C"

      PHP Fatal error: Cannot access private property LoggerLoggingEvent::$fqcn in /var/test/log4php/helpers/LoggerClassNamePatternConverter.php on line 42

      Index: LoggerLoggingEvent.php
      ===================================================================
      — LoggerLoggingEvent.php (revision 903559)
      +++ LoggerLoggingEvent.php (working copy)
      @@ -31,7 +31,7 @@
      /**

      • @var string Fully Qualified Class Name of the calling category class.
        */
      • private $fqcn;
        + public $fqcn;

      /**

      • @var Logger reference

      Attachments

        Activity

          People

            Unassigned Unassigned
            kawai Hiroaki Kawai
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: