Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 87450 invoked from network); 18 Sep 2009 18:50:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Sep 2009 18:50:58 -0000 Received: (qmail 86123 invoked by uid 500); 18 Sep 2009 18:50:54 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 86039 invoked by uid 500); 18 Sep 2009 18:50: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 86026 invoked by uid 99); 18 Sep 2009 18:50:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Sep 2009 18:50:54 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of java.vinicius@gmail.com designates 74.125.78.149 as permitted sender) Received: from [74.125.78.149] (HELO ey-out-1920.google.com) (74.125.78.149) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Sep 2009 18:50:45 +0000 Received: by ey-out-1920.google.com with SMTP id 5so354098eyb.2 for ; Fri, 18 Sep 2009 11:50:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=RyQ539JGsAV2h8NXLaNk1hG6I14BVDDE3N8b4vdHLUc=; b=jIUub7NcyYj2cTt5N1bByeejgY7EXaSwJc73pbzCmmwuR65QdR1Ro27hDb0Uj86PgT tWR0MCLEe+PK481EN/puwIsvb0fSNuyG3x1lDmAq518M/kK+DQuN8DsiTnUhZChAJwFP U2CQIxmv2rP7y8OVkg9JU2f4XZelbYcv4bG+Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Mqj7PyV3fATwYcN/ckMVjvhQb442xnN8GYTJxtgHaRHjdatt7Mcv0R/ZByghAZ8MqR 07XKc5RPB2HeNDYT255AjrLOoGx08tpMb8HXBSVURzPevvf5mzxcIoGRMGDOp9n3z6sc +lgOOyVjsZIQRwEpDsJf70vmD6e4sjtGoBSF8= MIME-Version: 1.0 Received: by 10.216.88.3 with SMTP id z3mr543882wee.94.1253299824727; Fri, 18 Sep 2009 11:50:24 -0700 (PDT) Date: Fri, 18 Sep 2009 15:50:24 -0300 Message-ID: Subject: Yet another swallowOutput question From: Vinicius Carvalho To: users@tomcat.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hello there! I'm trying to redirect some legacy System.out calls in our app to a different logger. Since tomcat's logging implementation does not allow one to configure the maximum size of the catalina.out, we are easily reaching gigabytes of space on that file. I thought that by just adding: Would solve my problems, but, after re-starting the server and calling a servlet that deliberate calls system.out, the catalina out gets all the output Well, tried to configure log4j as explained on http://tomcat.apache.org/tomcat-6.0-doc/logging.html, did not work as well, not matter what I do, catalina.out continues to grow. I do know that we *should* not have any system.out on our code, but as I said, it's a legacy code and I can't refactor an entire app in time. Any ideas on how can one avoid the sysout gets logged? Regards --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org