GeeCON Prague 2014*
The moose likes Other Open Source Projects and the fly likes Debugging using Thread Id inside Log Files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Debugging using Thread Id inside Log Files " Watch "Debugging using Thread Id inside Log Files " New topic
Author

Debugging using Thread Id inside Log Files

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi all ,

I am using Thread Id to debug by seeing the log files that got generated inside the Application servers .

While trying to degug by seeing log files that got generated inside application server , why is it in some cases the Thread id would be normal for example :
2010-10-23 14:27:03,043 | DEBUG | [Thread-239]
but in some cases , it would be in a different format as

2010-10-23 14:22:48,623 | DEBUG | [SIBJMSRAThreadPool : 4]

why is the Thread Id is being created in some different manner as in second case .

We are currently using Websphere as our Application server .

Thanks .


Save India From Corruption - Anna Hazare.
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

App server threads can be named differently by app servers, it's their prerogative


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
 
GeeCON Prague 2014
 
subject: Debugging using Thread Id inside Log Files