Sounds like you need a custom log4j appender.

Regards,
Hiram

>From: "marc fleury" <[EMAIL PROTECTED]>
>To: "Jason Dillon" <[EMAIL PROTECTED]>
>CC: "Jboss-Development@Lists. Sourceforge. Net" 
><[EMAIL PROTECTED]>
>Subject: RE: [JBoss-dev] newbie question on log.trace
>Date: Tue, 26 Feb 2002 04:16:25 -0800
>
>
>|>PS: is there a threadTrace() thingy where it creates a new file per 
>thread
>|>that would come it and the messages are linked to a given thread going
>|>through? is that a custom logger?
>|>
>|You lost me here.  What are you trying to track?
>
>A thread.
>
>A thread is coming in and collecting thread information as it goes.
>
>If 2 threads go through the log4j logger and "trace" do the message get
>"mixed"??? in that case it is VERY hard to debug a running system as you
>don't know what thread is talking.  Think of that logger as a PROBE for a
>given thread going through.  It goes through on only the messages 
>originated
>by that thread get logged in a file.
>
>Ex: you are running a system, something is wrong, if you look at the logs
>you see 254 threads going through and the messages make no sense.  You turn
>on the "logTrace()" and ONE thread that is going through gets redirected to
>a file (or a finite number whatever).  Each file is just the talk from ONE
>thread.  Useful for debugging the running system.
>
>Yes?
>
>marcf
>|
>|--jason
>|
>|
>|
>|_______________________________________________
>|Jboss-development mailing list
>|[EMAIL PROTECTED]
>|https://lists.sourceforge.net/lists/listinfo/jboss-development
>
>
>_______________________________________________
>Jboss-development mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/jboss-development




_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to