[
https://issues.apache.org/jira/browse/LOG4PHP-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13062711#comment-13062711
]
Christian Grobmeier commented on LOG4PHP-114:
---------------------------------------------
Agreed on all what said, except I think we should keep ini config files. Many
people are using that feature and it is also supported by log4j. Even when
log4php is somewhat independent, it should "feel similar".
> Order of params in 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira