-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Eric,

On 8/11/2009 5:25 PM, Eric B. wrote:
> My webapp uses log4j to log data to stdout.  When using Juli (in the default 
> configuration), everything that is displayed in stdout is logged to 
> catalina.out.  However, when I switch to log4j, this doesn't seem to be the 
> case; only data that is logged by tomcat is logged to my catalina.out; 
> anything my webapp is logging to stdout isn't captured in the file.

How many log4j.jar files od you have, and where are they? The behavior
you describe sounds like your webapp has its own copy of log4j.jar AND
log4j.properties which are being used for the webapp instead of the
globally-loaded log4j classes and log4j.properties file.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqCI8cACgkQ9CaO5/Lv0PAarwCgwyKHyNLOVafnv5G7e/1MWmUF
WqgAoLrSh5jCfYJEPRh2nYp/2Kry1nMl
=wD/H
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to