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 E87231018F for ; Wed, 4 Dec 2013 04:10:52 +0000 (UTC) Received: (qmail 41172 invoked by uid 500); 4 Dec 2013 04:10:48 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 40897 invoked by uid 500); 4 Dec 2013 04:10:45 -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 40888 invoked by uid 99); 4 Dec 2013 04:10:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Dec 2013 04:10:43 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [155.63.0.78] (HELO dytn-smtp1.trimble.com) (155.63.0.78) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Dec 2013 04:10:37 +0000 Received: (qmail 38844 invoked by uid 502); 3 Dec 2013 23:10:15 -0500 X-Qmail-Scanner-Diagnostics: from 10.3.0.166 by dytn-smtp1.trimble.com (envelope-from , uid 488) with qmail-scanner-2.11 (clamdscan: 0.98/18192. avast: v3.2.1/131202-2. sophie: 3.06/3.48.0/4.95. spamassassin: 3.3.1. Clear:RC:1(10.3.0.166):. Processed in 0.103705 secs); 04 Dec 2013 04:10:15 -0000 Received: from unknown (HELO nzc-ap-xch-02.ap.trimblecorp.net) (10.3.0.166) by dytn-smtp1.trimble.com with SMTP; 3 Dec 2013 23:10:15 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Logging makes a grown man cry Date: Wed, 4 Dec 2013 17:01:59 +1300 Message-ID: In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Logging makes a grown man cry thread-index: Ac7wU0nVXAT2Cwl+RaS1J27B/9W4cgAUbZyg References: From: "Dale Ogilvie" To: "Tomcat Users List" X-Virus-Checked: Checked by ClamAV on apache.org Currently we use tomcat configured as out-of-the-box for logging (no log4j) and log4j.jar and config in the app war file. We found issues with trying to have log4j in catalina/lib. That said, it would be nice to use log4j for tomcat, however we found that the two configurations collided in our slf4j setup.=20 Dale -----Original Message----- From: Tomcat Random [mailto:tomcat.random@gmail.com]=20 Sent: Wednesday, 4 December 2013 7:12 a.m. To: Tomcat Users List Subject: Logging makes a grown man cry So, all I want is to have: 1. one log file that rolls daily (a new file each day), with the date appended, that catches my own logging code in the app, based on a global logging level value that I can change (DEBUG, or INFO, or ERROR etc) as needed. 2. Another log file that rolls daily and consolidates any other output of the server and app (or two separate files) and also has a logging level value that can be changed globally. 3. Get rid of the empty localhost. file. MTIA, Alec --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org