rgoers commented on pull request #390:
URL: https://github.com/apache/logging-log4j2/pull/390#issuecomment-662709377


   Of course it can be guaranteed the original thread is around because most of 
the time the LogEventWrapper is called it will be from the same thread as the 
caller. Only when the caller has an AsyncAppender will that change and in that 
case Log4j’s AsyncAppender will have captured all the LogEvent info. To be 
honest, I think that code should just be calling event.getThreadName(), 
event.getThreadId() and event.getThreadPriority(). 


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to