Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-3160

log4j2.debug system property has no effect

    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.13.3
    • 2.15.0
    • Documentation
    • None

    Description

      The online FAQ mentions a system property "log4j2.debug", which should print all internal logging to the console, if set to any value.

      See: https://logging.apache.org/log4j/2.x/faq.html

      Here's the relevant quote:

      From log4j-2.9 onward, log4j2 will print all internal logging to the console if system property log4j2.debug is defined (with any or no value).

      But in reality, the internal logging can only be enabled by setting "log4j2.debug" to some case-variant of "TRUE". Please update either the documentation or the code.

      Attachments

        Activity

          People

            vy Volkan Yazici
            Twilight Lars Bohl
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: