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 "Woodward, Jed" <Je...@Arbella.com> on 2005/01/26 18:57:23 UTC

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

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.