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

PatternLayout: Possible variable substitution in equals substitution parameter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.4.1
    • 2.6
    • Pattern Converters
    • None

    Description

      Let the substitution parameter of the equals function also substitute variables.
      E.g.:

      %equals{%marker}{}{%msg} 
      

      should print the message if the marker is empty, currently "%msg" is appended.

      Attachments

        1. LOG4J2_1169-try2.patch
          10 kB
          Matt Sicker
        2. LOG4J2-1169.patch
          50 kB
          Gerald Kritzinger

        Activity

          People

            mattsicker Matt Sicker
            gerald.kritzinger@oenb.at Gerald Kritzinger
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: