You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "felix-zhang-0818 (via GitHub)" <gi...@apache.org> on 2025/05/10 12:23:25 UTC
[PR] improve log context in order to add thread name information. [tomcat]
felix-zhang-0818 opened a new pull request, #849:
URL: https://github.com/apache/tomcat/pull/849
(no comment)
--
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: dev-unsubscribe@tomcat.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: [PR] improve log context in order to add thread name information. [tomcat]
Posted by "felix-zhang-0818 (via GitHub)" <gi...@apache.org>.
felix-zhang-0818 commented on PR #849:
URL: https://github.com/apache/tomcat/pull/849#issuecomment-2868827471
From source code level.
if (isRequestThread(thread)) {
log.warn(sm.getString("webappClassLoader.stackTraceRequestThread", getContextName(), threadName,
getStackTrace(thread)));
}
it already provides the parameter threadName, but the log context is not using it. So here, it's enough to just apply log context properties change.
--
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: dev-unsubscribe@tomcat.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: [PR] improve log context in order to add thread name information. [tomcat]
Posted by "felix-zhang-0818 (via GitHub)" <gi...@apache.org>.
felix-zhang-0818 closed pull request #849: improve log context in order to add thread name information.
URL: https://github.com/apache/tomcat/pull/849
--
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: dev-unsubscribe@tomcat.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org