Uploaded image for project: 'SLF4J'
  1. SLF4J
  2. SLF4J-381

Support system property -Dslf4j.debug=true to output how it determined which logging implementation it used

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core API
    • Labels:
      None

      Description

      Logback supports -Dlogback.debug=true to figure out where a running system is getting its logback.xml file.

      Similarly, SLF4J should support -Dslf4j.debug=true to figure out how it's determining which logging implementation to use.

      For mere mortals using slf4J-logback on an application server such as WildFly, Tomcat, Websphere, Weblogic, ... it can be extremely difficult to figure out where their logging configuration is coming from. This would make it easy.

      Optional: -Dslf4j.debug implies -Dlogback.debug, so 1 system property is enough to figure out where the logging configuration comes from.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                slf4j-dev SLF4J developers list
                Reporter:
                ge0ffrey Geoffrey De Smet
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: