tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Logging makes a grown man cry
Date Wed, 04 Dec 2013 17:45:15 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Dale,

On 12/3/13, 11:01 PM, Dale Ogilvie wrote:
> Currently we use tomcat configured as out-of-the-box for logging
> (no log4j) and log4j.jar and config in the app war file.
> 
> We found issues with trying to have log4j in catalina/lib.
> 
> That said, it would be nice to use log4j for tomcat, however we
> found that the two configurations collided in our slf4j setup.

You can do this if you put log4j.jar into a server-only ClassLoader.
That's not configured by default in Tomcat 6+. We should add
documentation to show how that can be done, because conflicting
loggers are a total pain.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJSn2oqAAoJEBzwKT+lPKRYHccQAK32B5PG94nKGWv9/Ml4vmRg
UnsHGM1ThTb/CO7r1/Z0sZvuNVP+F+4S/il5dZ+pVftn00mBPmeSIYqjthsSgfg7
yYt2FQOLyk0fJjfcMCeXzPXMzxVSpQqGbaKkYYUXsufxHBWNJQImNQJh8HnB3kf8
koP0Y7WajN+cg5P+asHWsdwMeRHpieZmjytv3QHLdjgfnfbrLXAF3d5JmBA1pi5l
H4VTxHEDCPmejqNCRNdpD1ofdJDBScZXjMB5gvtVszQiYZYynfl/HTeMt5YrcFvo
QV0pdgK4hHlLz8TzZG04bmo+GfA1jSvy2x7yLXDKKV6DllnHGGRMpvY6qSEU62Yu
j24rHuPAUC26y3LYM5yK6IJaWnPtUYV9pHw+JHZRIEo1pIhrGLg3RboVase4SQb0
soqh4V8TcZ/bnzOklYB6fubP1vbTzWZx/kb3OhbOUTVFVPI9IEtmjezfxXurKVLK
4sEkOH8Xe1fVvMcTPx+cMcFn51e5HsxIIO6Vgjbzi8zXp+x51Tg57oZAlWsjacC1
ddqB24Sknb6gd8KeCEH3mI2IwzmzJSN8q0UZnOldfl4JD75s+R3eeu4Pg8jPiaaz
UA/CbcxBf5cXgnaYt6QWiAYuSOTFPuLJ34m9LXL5HfxiU3ZaciPGaT+7qCws0ID7
4v+Wul2gIGHJ1mqyCgcX
=a6/R
-----END PGP SIGNATURE-----

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


Mime
View raw message