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

Using non-existent appender in root - no logging in other files #831

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 1.5.12
    • None
    • None
    • None

    Description

      am using slf4j and logback version 1.3.14 and removed an appended, but failed to remove the corresponding from the element. Logback was started, and no error was thrown. For all other appenders in the -element the log files were created, but the log files are empty.
       

      <root level="INFO">
              <appender-ref ref="DEFAULT-FILE"/>
              <appender-ref ref="SECURITY-FILE"/>
              <appender-ref ref="NON-EXISTENT-FILE"/>
      </root>
      

      I know that this is a configuration issue. It would be good if an error or a warning message is thrown if an appender-ref is used for a non-existent appended.

      Attachments

        Activity

          People

            ceki Ceki Gülcü
            ceki Ceki Gülcü
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: