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

LevelChangePropagator should override jul logging levels with those defined in logback.xml

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 1.0.12
    • logback-classic
    • None

    Description

      LevelChangePropagator propagates changes made to the level of any logback-classic logger onto the java.util.logging framework, but it ignores levels set before the installation of the listener.

      I'd like to propose that when LevelChangePropagator is installed, it allows the initial configuration as defined in logback.xml to override the initial configuration of JUL. Meaning, if the same logger is configured in JUL and Logback, the level declared in logback's configuration should win.

      Attachments

        Activity

          People

            logback-dev Logback dev list
            cowwoc Gili
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: