tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statements from getting added to catalina.out file?
Date Mon, 23 Apr 2012 14:20:26 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dilip,

On 4/20/12 7:36 PM, Dilip Shah wrote:
> The problem is that there seem to be one / several jar files that I
> use in my application that are adding vast number of INFO and
> DEBUG statements in catalina.out

I suspect that the following are true:

1. You have libraries in common/lib or shared/lib
2. One or more of them use log4j, or they use commons-logging in such
a way as to allow them to use log4j if it is configured at all
3. One or more of them initialize log4j, so those in #2 log to log4j
4. There is either no log4j configuration at all (default?) or a
stupid one (including logging DEBUG to stdout)
5. Tomcat puts all stdout into logs/catalina.out (this is definitely true)

MY first step would be to get everything out of common/lib. That may
solve everything right off the bat. You should do this whether or not
you intend to upgrade.

Let us know how it goes. Until then, there's no reason for any of us
(yourself included) to waste our time considering why you are
experiencing this.

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

iEYEARECAAYFAk+VZSoACgkQ9CaO5/Lv0PD2EwCeJ/G5iwFVk+ov47zRxGtEpLLW
hH0AoKRmO87yrYWM6LnQVT/WAJs/uFQh
=WCl3
-----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