LoggerClassNamePatternConverter accessing private property
----------------------------------------------------------

                 Key: LOG4PHP-93
                 URL: https://issues.apache.org/jira/browse/LOG4PHP-93
             Project: Log4php
          Issue Type: Bug
          Components: Code
    Affects Versions: 2.0
         Environment: PHP 5.3.1
            Reporter: Hiroaki Kawai


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


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to