logging-log4php-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier ROMAND (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4PHP-114) Order of params in configuration is significant
Date Sun, 10 Jul 2011 12:32:03 GMT

    [ https://issues.apache.org/jira/browse/LOG4PHP-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13062724#comment-13062724
] 

Olivier ROMAND commented on LOG4PHP-114:
----------------------------------------

My mistake, 

Seems that the parameters INI_SCANNER_RAW is a way to go while calling

I actually had some mistake in my .ini config.

Regards

> 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

        

Mime
View raw message