Gary Gregory created LOG4J2-1114:
------------------------------------

             Summary: Add thread name to status logger layout
                 Key: LOG4J2-1114
                 URL: https://issues.apache.org/jira/browse/LOG4J2-1114
             Project: Log4j 2
          Issue Type: Improvement
          Components: API
    Affects Versions: 2.3
         Environment: Apache Maven 3.3.3 
(7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T04:57:37-07:00)
Maven home: C:\Java\apache-maven-3.3.3
Java version: 1.8.0_60, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_60\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos"
            Reporter: Gary Gregory
            Assignee: Gary Gregory
             Fix For: 2.4


Add thread name to status logger layout.

Right status logging looks like this:
{noformat}
2015-09-07 22:50:50,351 DEBUG PluginManager 'Core' found 76 plugins
{noformat}
Add the thread name, like this:
{noformat}
2015-09-07 22:50:50,351 main DEBUG PluginManager 'Core' found 76 plugins
{noformat}

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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to