I do not believe there is. It is not hard, however, to define your own "word" in the pattern with a
<conversionRule conversionWord="foo" conversionClass="foo.bar.FooConverter"/> snippet, where FooConverter extends ClassicConverter. Have a look at ThreadConverter. -----Original Message----- From: logback-user-boun...@qos.ch [mailto:logback-user-boun...@qos.ch] On Behalf Of jaybytez Sent: 7. august 2012 01:15 To: logback-user@qos.ch Subject: [logback-user] Pattern - log thread id instead of thread name In the examples and basic usage we have a pattern like: <pattern>%d [%thread] %level %logger - %m%n</pattern> The thing we don't like is on weblogic, the %thread is outputted as: [[ACTIVE] ExecuteThread: '102' for queue: 'weblogic.kernel.Default (self-tuning)'] Is there a syntax that we can use in the pattern to just log the thread id? Thanks, Jay -- View this message in context: http://old.nabble.com/Pattern---log-thread-id-instead-of-thread-name-tp34263 848p34263848.html Sent from the Logback User mailing list archive at Nabble.com. _______________________________________________ Logback-user mailing list Logback-user@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-user _______________________________________________ Logback-user mailing list Logback-user@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-user