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

AsyncLogger does not lookup properties

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.8
    • Core, Lookups
    • None

    Description

      When copying configuration Properties into the context data map of each log event, property values that start with "${" should be treated as a Lookup and be resolved with StrSubstitutor.replace.

      AsyncLogger has a bug such that this lookup does not happen and the original value (starting with "${") is put in the contxt data map of the log event.

      Attachments

        Activity

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

          People

            rpopma Remko Popma
            rpopma Remko Popma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment