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

Add thread name to status logger layout

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.4
    • Component/s: API
    • Labels:
      None
    • Environment:

      Description

      Add thread name to status logger layout.

      Right status logging looks like this:

      2015-09-07 22:50:50,351 DEBUG PluginManager 'Core' found 76 plugins
      

      Add the thread name, like this:

      2015-09-07 22:50:50,351 main DEBUG PluginManager 'Core' found 76 plugins
      

      The implementation is the same as with the core logger. A getThreadName() method lazy-initializes a String threadName ivar.

        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: