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

Add thread name to status logger layout

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3
    • 2.4
    • API
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: