[
https://issues.apache.org/jira/browse/LOG4PHP-181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Habunek updated LOG4PHP-181:
---------------------------------
Fix Version/s: (was: 2.3.0)
> The default configurator does not populate the LoggerAppenderPool
> -----------------------------------------------------------------
>
> Key: LOG4PHP-181
> URL: https://issues.apache.org/jira/browse/LOG4PHP-181
> Project: Log4php
> Issue Type: Bug
> Components: Code
> Affects Versions: 2.2.1
> Reporter: John
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Method configureAppender() of the class LoggerConfiguratorDefault, should end
> with:
> LoggerAppenderPool::add($appender);
> As this statement should work:
> $appender = LoggerAppenderPool::get('file');
> According to the documentation within the LoggerAppenderPool.php file
> * Pool implmentation for LoggerAppender instances.
> *
> * The pool is used when configuring log4php. First all appender instances
> * are created in the pool. Afterward, they are linked to loggers, each
> * appender can be linked to multiple loggers. This makes sure duplicate
> * appenders are not created.
> Currently the pool remains empty, making it impossible to add an appender to
> a logger at a later stage.
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira