KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Is it possible to print the thread name in the log statements generated by java.util.logging.Logger ? One alternative is to do something like the following: logger.info(thread.getName() + " some useful info"); but it's repetitive and the logging framework should handle it.
Tags (comma-separated)
Save Edits
Cancel