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

Simplify log4j system property naming scheme

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.10.0
    • Component/s: None
    • Labels:
      None

      Description

      As I wonder how to prefix yet another configurable system property, I noticed we have five families of configuration name prefixes:

      log4j.*
      log4j2.*
      Log4j*
      org.apache.logging.log4j.*
      <no prefix>

      What I'd like to do is strip out all those prefixes and allow any of them, but change the documentation to use only a single consistent prefix. This would also make it simpler when writing the properties into a log4j2.component.properties file as you could omit all the prefixes as they won't clash with other libraries.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              mattsicker Matt Sicker
              Reporter:
              mattsicker Matt Sicker

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment