[logback-user] logback-access and %I for thread name

Wolfey wolfeydev at gmail.com
Fri Jun 20 08:12:56 CEST 2014


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-tp13681p13682.html
> Sent from the Users mailing list archive at Nabble.com.
> _______________________________________________
> Logback-user mailing list
> Logback-user at qos.ch
> http://mailman.qos.ch/mailman/listinfo/logback-user



More information about the Logback-user mailing list