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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.4.1
    • Component/s: Layouts
    • Labels:
      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

            • Assignee:
              garydgregory Gary Gregory
              Reporter:
              garydgregory Gary Gregory
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: