I want just one thread though. Well I guess you can then "grep" for the thread name...
not important thanks marcf |-----Original Message----- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of Jason |Dillon |Sent: Tuesday, February 26, 2002 1:26 AM |To: marc fleury |Cc: Jboss-Development@Lists. Sourceforge. Net |Subject: Re: [JBoss-dev] newbie question on log.trace | | |You can specify %t in the appenders format to get the thread name. Look |at |http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/PatternLa |yout.html | |for more details. | |--jason | | |marc fleury wrote: | |>|>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 |> | | | |_______________________________________________ |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
