baldpate opened a new issue, #2258:
URL: https://github.com/apache/logging-log4j2/issues/2258
## Description
The same ID is always shown for the pattern "%tid" when async logging is
used.
For the following, if I change "AsyncRoot" to "Root", the thread ID becomes
different for different threads.
"%t" has no such problem.
`<Configuration>`
` <Appenders>`
` <Console name="Console" target="SYSTEM_OUT">`
` <PatternLayout pattern="%d{DEFAULT} %-5level %3tid %c{1}:
%msg%n%throwable" />`
` </Console>`
` </Appenders>`
` <Loggers>`
` <AsyncRoot level="info">`
` <AppenderRef ref="Console" />`
` </AsyncRoot>`
` </Loggers>`
`</Configuration>`
## Configuration
**Version:** 3.0.9
**Operating system:** [OS and version]
**JDK:** openjdk-17
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]