Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-100

FileAppender file property set in prudent mode example

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • logback-core
    • None
    • Jboss 4.0
      JDK 1.5.0_21

    Description

      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 :

      ...
      <appender name="FILE-${contextName}" class="ch.qos.logback.core.FileAppender">
      <file>${contextName}.log</file>
      <prudent>true</prudent>
      ...

      How you an explaination ?

      Regards,

      Antoine

      Attachments

        Activity

          People

            logback-dev Logback dev list
            elryk Antoine
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: