You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Jacob Kjome <ho...@visi.com> on 2005/01/27 03:24:58 UTC

Re: Why a different output format for first log statement in each met hod?

How about letting us see your config file?

Jake

At 12:57 PM 1/26/2005 -0500, you wrote:
 >
 >Using 1.2.9 in a web app within websphere 5.1. For some reason, the first
 >logging statement in each method of my application gets sent to the console
 >in a different output pattern then the rest of the logging statements within
 >that method. For example, if you look at the five log statements that were
 >output to the console below, you can see that the first line (DEBUG) is of a
 >different format then the other 4. They should all be the same - same as the
 >last 4 lines. WebSphere seems to be intercepting and sticking a SystemOut
 >output in front of the log4j output, but only on the first log statement of
 >each method. Any ideas?
 >
 >
 >
 >[1/26/05 12:29:36:656 EST] 6a5fac1f SystemOut     O 2005-01-26 12:29:36,656
 >DEBUG (TranslateCodesImpl.java:82) - getCodeValue() - Just entered function.
 >2005-01-26 12:29:36,656  INFO (TranslateCodesImpl.java:83) - getCodeValue()
 >- Just entered function.
 >2005-01-26 12:29:36,656  WARN (TranslateCodesImpl.java:84) - getCodeValue()
 >- Just entered function.
 >2005-01-26 12:29:36,656 ERROR (TranslateCodesImpl.java:85) - getCodeValue()
 >- Just entered function.
 >2005-01-26 12:29:36,656 FATAL (TranslateCodesImpl.java:86) - getCodeValue()
 >- Just entered function.


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org