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

System property for default configuration file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 2.14.0
    • None
    • Documentation
    • None

    Description

      On this page it says that the name of the system property to change the default configuration file is "log4j2.configurationFile":

      https://logging.apache.org/log4j/2.x/manual/configuration.html

      On this page it says that the name of the system property to change the default configuration file is "log4j.configurationFile".

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

      Which is correct?

      "log4j2.configurationFile" is not working for me.

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            gileslewis3 Giles Lewis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: