When the glassfish starts up, the following log is generated -- note the _ThreadName=Thread-1 --
Jun 3, 2010 2:57:15 PM com.sun.enterprise.admin.launcher.GFLauncherLogger info
INFO: Successfully launched in 22 msec.
[#|2010-06-03T14:57:17.204-0400|INFO|null|null|_ThreadID=11;_ThreadName=Thread-1;|Running GlassFish Version: GlassFish v3 (build 74.2)|#]
Even after changing the thread's name with Thread.currentThread().setName("NewThreadName"),
the glassfish logs the thread name as "Thread-1".
[#|2010-06-03T17:22:17.125-0400|INFO|glassfishv3.0|com.concurrent.contentmanager.ejb.DataImportBean|_ThreadID=113;_ThreadName=Thread-1;|Transaction status 6|#]
Does anyone know how the glassfish formats the log and whether there is an issue or not regard to the thread name it generates?
[Message sent by forum member 'dongpak']
http://forums.java.net/jive/thread.jspa?messageID=472661