Utilities Blog by JuCa Cruz
If it happened to me before, maybe what I've posted here will help you.
Tuesday, August 17, 2010
Log4J tips
Add thread name to my log file; sometimes we want to know which thread is being executed, well, try this:
ConversionPattern=%d [%5p]
[%t]
%c{1}.%m%n
That's right just by adding "%t", you can see which thread is doing what.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment