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 "Ivan Habunek (Updated) (JIRA)" <ji...@apache.org> on 2011/12/08 16:35:39 UTC
[jira] [Updated] (LOG4PHP-114) Order of params in
LoggerAppenderDailyFile configuration is significant
[ https://issues.apache.org/jira/browse/LOG4PHP-114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivan Habunek updated LOG4PHP-114:
---------------------------------
Summary: Order of params in LoggerAppenderDailyFile configuration is significant (was: Order of params in configuration is significant)
> Order of params in LoggerAppenderDailyFile configuration is significant
> -----------------------------------------------------------------------
>
> Key: LOG4PHP-114
> URL: https://issues.apache.org/jira/browse/LOG4PHP-114
> Project: Log4php
> Issue Type: Bug
> Components: Code
> Affects Versions: 2.0
> Reporter: Darja Ryazhskikh
> Fix For: 2.2
>
>
> For example. Config as:
> <appender name="default" class="LoggerAppenderDailyFile">
> <param name="datePattern" value="Y-m-d" />
> <param name="file" value="logs/%s.log" />
> </appender>
> works not as:
> <appender name="default" class="LoggerAppenderDailyFile">
> <param name="file" value="logs/%s.log" />
> <param name="datePattern" value="Y-m-d" />
> </appender>
> That's because of setFile happens before datePattern is set. But it is unexpected behavior for user.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira