-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chuck,
On 2/9/12 4:06 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: ServletException logging changes between 5.5 and >> 6.0/7.0? > >> In order to use log4j with Tomcat 6.0 and 7.0, you need to >> download some Tomcat "extras" as described here: >> http://tomcat.apache.org/tomcat-7.0-doc/logging.html#Using_Log4j > > Just to be clear: that's only when you want Tomcat to use log4j > for its own logging; nothing to do with any logging implementation > inside the webapp itself. Yes, with one exception: use of ServletContext.log(). If you use that for logging (which I happen to think is foolish), then you'll need to configure your logging at the Tomcat-level. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk80N3sACgkQ9CaO5/Lv0PAh3QCglSb487Qz39vArWhJHNSD6Cwq eRMAn3XhOcEUJlMf5hB1lAWBc8txOmyD =t5Cz -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org