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.3
Environment: all
Reporter: Peter Chapman
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.
-
You can reply to this email to add a comment to the issue online.