You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-dev@logging.apache.org by "Christian Grobmeier (JIRA)" <ji...@apache.org> on 2010/01/28 06:43:34 UTC

[jira] Updated: (LOG4PHP-93) LoggerClassNamePatternConverter accessing private property

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

Christian Grobmeier updated LOG4PHP-93:
---------------------------------------

    Fix Version/s: 2.1

> 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
>             Fix For: 2.1
>
>
> 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.