logback-access and %I for thread name

Hi, I would like to migrate from org.apache.catalina.valves.AccessLogValve with pattern %h %l %u %t '%r' %s %b %I %D to ch.qos.logback.access.tomcat.LogbackValve. I couldn't find support for %I for logging the thread name in logback-access. Am I missing something or is this not possible? Regards, Wolfey

Looking at ch.qos.logback.access.PatternLayout, which defines all the default pattern converters, there doesn't seem to be any mention of thread. Why do you want to log the thread name? -- View this message in context: http://logback.10977.n7.nabble.com/logback-access-and-I-for-thread-name-tp13... Sent from the Users mailing list archive at Nabble.com.

Hi, our application info and error log also log the executing thread's name which is set to something meaningful in the application. This way we can track incoming requests and match the info log output with the request from the access log. Wolfey
Looking at ch.qos.logback.access.PatternLayout, which defines all the default pattern converters, there doesn't seem to be any mention of thread.
Why do you want to log the thread name?
-- View this message in context: http://logback.10977.n7.nabble.com/logback-access-and-I-for-thread-name-tp13... Sent from the Users mailing list archive at Nabble.com. _______________________________________________ Logback-user mailing list Logback-user@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-user
participants (2)
-
diroussel
-
Wolfey