![]() |
|
|
|
|
Issue Type:
|
New Feature
|
|
Assignee:
|
Logback dev list
|
|
Components:
|
logback-core |
|
Created:
|
20/Mar/13 5:02 PM
|
|
Description:
|
It would be helpful to be able to abbreviate thread names for the same reasons that we like to abbreviate logger names.
Whereas logger{x} splits on "." or "$", thread{x} would at least split on "-". E.g.,
Conversion Specifier Thread name Result
%thread http-nio-8080-exec-15 http-nio-8080-exec-15
%thread{0} http-nio-8080-exec-15 15
%thread{1} http-nio-8080-exec-15 h-n-8-e-15
%thread{5} http-nio-8080-exec-15 http-nio-8080-exec-15
With respect to splitting on "-", I have also seen thread names that look like:
ajp-bio-/127.0.0.1-8009-exec-10
This would not split nicely on ".".
|
|
Project:
|
logback
|
|
Labels:
|
layouts
|
|
Priority:
|
Trivial
|
|
Reporter:
|
Broc Seib
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
_______________________________________________
logback-dev mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-dev