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

log4j2.component.properties not read for all properties

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2
    • 2.3
    • Core
    • None

    Description

      Some parts of the code read System properties using System.getProperty and some do it through PropertyUtils. I've added a patch to read all config properties using PropertyUtils so that values specified in log4j2.component.properties will be honored.
      I guess all this'll be obsolete if LOG4J2-321 will get done, but in the meantime it'd be nice for the code to behave the same way for all properties.

      Attachments

        1. use_propertiesutils.patch
          5 kB
          Stefan Wehner

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stefanwehner Stefan Wehner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: