Details
-
Improvement
-
Resolution: Fixed
-
Major
-
1.7.30
-
None
Description
Sometimes, for debugging purposes, you need to see the thread id for chasing down deadlocks. Simple prints the thread name only. I need to run jps and jstack to figure out the id. Please add org.slf4j.simpleLogger.showThreadId which will be printed after the thread name as {{[#
{id}]}.
In my usecase I use a distributed lock system which saves the node id and the thread id as lock owner. Having the thread id in the locks would make it much simpler.
Attachments
Issue Links
- relates to (out)
-
SLF4J-535 typo in SimpleLogger javadoc regarding threadId
- Resolved
- links to