Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
Win XPP SP2
Eclipse 3.4.0 Build id: I20080617-2000
JVM 1.6.0_12
Description
I am using the eclipse logback console but found that [%thread] gives me the wrong thread name. It shows something like [Thread-70] rather than the real thread name in my application. Here is the logging statement
private static final Logger logger = LoggerFactory.getLogger(TestView.class);
....
logger.error("testing test ing");
....
I noticed there is a code in the ch.qos.logback.eclipse.reciever.SocketNode (line 59), which I copied here.
try {
while (true)
The comment said it is a trick to keep the original thread name. It seems not working anymore, is it? Or, am I missing something?
Thanks a lot