[logback-dev] [JIRA] Created: (LBCORE-182) FileAppender file property set in prudent mode example

Antoine (JIRA) noreply-jira at qos.ch
Fri Nov 19 10:37:51 CET 2010


FileAppender file property set in prudent mode example
------------------------------------------------------

                 Key: LBCORE-182
                 URL: http://jira.qos.ch/browse/LBCORE-182
             Project: logback-core
          Issue Type: Bug
          Components: Other
    Affects Versions: 0.9.24
         Environment: Jboss 4.0
JDK 1.5.0_21
            Reporter: Antoine
            Assignee: Logback dev list
            Priority: Minor


Hi,

I think an error exists on your logback documentation. 
Indeed, the prudent mode description of the RollingFileAppender (http://logback.qos.ch/manual/appenders.html#RollingFileAppender) indicates the file property FileAppender should be left blank.
However, in the logging separation page (http://logback.qos.ch/manual/loggingSeparation.html), the last example does not respect this rule :
{quote}
...
 <appender name="FILE-${contextName}" class="ch.qos.logback.core.FileAppender">
        <file>${contextName}.log</file>
        <prudent>true</prudent>
...
{quote}
How you an explaination ?

Regards,

Antoine

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the logback-dev mailing list