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

Kiran,

On 7/11/12 11:33 PM, Kiran Badi wrote:
> I know this is not a place to learn Java and thats not my
> intention.Its time for me to implement robust logging framework,so
> thought let me ask here as which is light weight and yet can log
> exceptions preferably both handled and unhandled.

No logging framework is going to catch your exceptions for you and
magically log them: you'll have to catch them yourself and explicitly
log them. You can easily write a Filter that you can plug-into any
servlet container (including Tomcat) that will catch any exception you
want a and log it any way you want.

As for logging frameworks, I don't know of a single one that would
somehow be incompatible with Tomcat.

Good logging frameworks include:
- - Apache log4j
- - java.util.logging
- - logback

Or, you might prefer a "meta" logging package that can work with any
of those:
- - Apache commons-logging
- - slf4j

- -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/

iEYEARECAAYFAlAAIyIACgkQ9CaO5/Lv0PDvpwCgtBCqisSe9kNB0v8Y8mAQPsiU
5rYAnjmZS9Ktn3ZrptUgFto7I2nD+Jz1
=QBHn
-----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