tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
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
Hash: SHA1


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
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools -
Comment: Using GnuPG with Mozilla -


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message