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

Add %markerSimpleName in pattern layout should evaluate to marker name (not toString()).

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4
    • 2.4.1
    • Layouts
    • None

    Description

      Add %markerSimpleName in pattern layout should evaluate to marker name (not toString()).

      Like java.lang.Class has getSimpleName(), you can use %markerSimpleName to get the simple name as opposed to the fully qualified name.

      Attachments

        Activity

          People

            ggregory Gary D. Gregory
            ggregory Gary D. Gregory
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: