[
https://issues.apache.org/jira/browse/LOG4PHP-126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Grobmeier resolved LOG4PHP-126.
-----------------------------------------
Resolution: Fixed
Committed with rv1071041 - thanks for the patch!
> LoggerConfiguratorPhp does not appear to respect appender file property from
> config
> -----------------------------------------------------------------------------------
>
> Key: LOG4PHP-126
> URL: https://issues.apache.org/jira/browse/LOG4PHP-126
> Project: Log4php
> Issue Type: Bug
> Components: Code
> Affects Versions: 2.0
> Environment: all
> Reporter: Peter Chapman
> Fix For: 2.1
>
>
> When setting a log file path in an appender block within the php config
> array, the LoggerConfiguratorPhp::doConfigure does not respect this property.
> I have resolved the issue by adding the following code to the
> LoggerConfiguratorPhp class after line #80:
> if(isset($appenderProperties['file']) && method_exists($appender,
> 'setFileName')) {
> $appender->setFile($appenderProperties['file'], true);
> }
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira