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

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Core API
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated: