[prev in list] [next in list] [prev in thread] [next in thread] 

List:       log4php-dev
Subject:    [jira] Created: (LOG4PHP-114) Order of params in configuration is
From:       "darja (JIRA)" <jira () apache ! org>
Date:       2010-04-26 12:38:32
Message-ID: 33071021.7391272285512239.JavaMail.jira () thor
[Download RAW message or body]

Order of params in configuration is significant
-----------------------------------------------

                 Key: LOG4PHP-114
                 URL: https://issues.apache.org/jira/browse/LOG4PHP-114
             Project: Log4php
          Issue Type: Bug
            Reporter: darja
            Priority: Minor


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.
-
You can reply to this email to add a comment to the issue online.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic