Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 41903 invoked from network); 14 Apr 2005 21:32:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Apr 2005 21:32:48 -0000 Received: (qmail 90277 invoked by uid 500); 14 Apr 2005 21:32:22 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 90266 invoked by uid 500); 14 Apr 2005 21:32:21 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 90253 invoked by uid 99); 14 Apr 2005 21:32:21 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from stingray.uchicago.edu (HELO stingray.uchicago.edu) (128.135.17.223) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 14 Apr 2005 14:32:20 -0700 Received: from skate (skate.uchicago.edu [128.135.17.227]) by stingray.uchicago.edu (8.12.7/8.12.7/SuSE Linux 0.6) with SMTP id j3ELWIhR009635 for ; Thu, 14 Apr 2005 16:32:18 -0500 Message-ID: <002801c54139$b9180e70$e3118780@skate> From: "Jonathan Eric Miller" To: "Tomcat Users List" References: <45E41B46B1F8D81183E4000F20D7C40B0BB0591E@az33exm40-bu.am.freescale.net> Subject: Re: JULI and logging Date: Thu, 14 Apr 2005 16:34:22 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I haven't tried it yet, but, I noticed that catalina.sh/bat, looks for a jar file named tomcat-juli.jar and if it's present, it adds a "-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager" to JAVA_OPTS. I think if you rename or remove that jar file, it will disable it (haven't tried it, just a guess). What I did was change my common/classes/logging.properties file to the following. With this setup, everything goes into catalina.out. Note, I found that if JULI is enabled, it appears to ignore the java.util.logging.config.file property if you passed it in as a system property. handlers = java.util.logging.ConsoleHandler java.util.logging.ConsoleHandler.level = ALL Jon ----- Original Message ----- From: "Tran Hung-Phu-r50825" To: "'Tomcat Users List'" Sent: Thursday, April 14, 2005 11:59 AM Subject: JULI and logging > For tomcat 5.5.9. the default setting logs to both > Catalina.out and Catalina.yyyy-mm-dd.log files > > My question are: > 1) how to channel all startup messages to one file? > > 2) how to disable JULI (on by default)? > > thanks > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org