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

System property for default configuration file

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment