Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 201A49BD0 for ; Mon, 23 Apr 2012 14:20:58 +0000 (UTC) Received: (qmail 74664 invoked by uid 500); 23 Apr 2012 14:20:54 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 74468 invoked by uid 500); 23 Apr 2012 14:20:54 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 74458 invoked by uid 99); 23 Apr 2012 14:20:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2012 14:20:54 +0000 X-ASF-Spam-Status: No, hits=0.9 required=5.0 tests=PLING_QUERY,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [76.96.62.40] (HELO qmta04.westchester.pa.mail.comcast.net) (76.96.62.40) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2012 14:20:48 +0000 Received: from omta15.westchester.pa.mail.comcast.net ([76.96.62.87]) by qmta04.westchester.pa.mail.comcast.net with comcast id 1QJw1j0041swQuc54SLUT1; Mon, 23 Apr 2012 14:20:28 +0000 Received: from Christophers-MacBook-Pro.local ([69.143.109.145]) by omta15.westchester.pa.mail.comcast.net with comcast id 1SLU1j01538FjT13bSLUQc; Mon, 23 Apr 2012 14:20:28 +0000 Message-ID: <4F95652A.8070702@christopherschultz.net> Date: Mon, 23 Apr 2012 10:20:26 -0400 From: Christopher Schultz User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: Tomcat Users List 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? References: <4F91BD64.3070808@christopherschultz.net> <1334962817.10959.YahooMailNeo@web125505.mail.ne1.yahoo.com> In-Reply-To: X-Enigmail-Version: 1.4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org -----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