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

log4j2.component.properties not read for all properties

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment