https://bz.apache.org/bugzilla/show_bug.cgi?id=69675
Bug ID: 69675 Summary: Please include threadName in WebappClassLoaderBase clearReferencesThreads log content Product: Tomcat 9 Version: 9.0.98 Hardware: All OS: All Status: NEW Severity: normal Priority: P2 Component: Catalina Assignee: dev@tomcat.apache.org Reporter: felixzhang0...@gmail.com Target Milestone: ----- Background : 1, In WebappClassLoaderBase, we have logic to log call stack trace of threads that processing http requests. if (isRequestThread(thread)) { log.warn(sm.getString("webappClassLoader.stackTraceRequestThread", getContextName(), threadName, getStackTrace(thread))); } else { log.warn(sm.getString("webappClassLoader.stackTrace", getContextName(), threadName, getStackTrace(thread))); } 2, The log content comes from LocalStrings.properties webappClassLoader.stackTraceRequestThread=The web application [{0}] is still processing a request that has yet to finish. This is very likely to create a memory leak. You can control the time allowed for requests to finish by using the unloadDelay attribute of the standard Context implementation. Stack trace of request processing thread:[{2}] 3, The log line in WebappClassLoaderBase already provided threadName parameter. Just the local string is not using it. Requirement : Could you please enhance the string properties webappClassLoader.stackTraceRequestThread to include threadName information in log. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org