tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Eric Miller" <jemil...@uchicago.edu>
Subject Re: JULI and logging
Date Thu, 14 Apr 2005 21:34:22 GMT
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" <Hung-phu.Tran@freescale.com>
To: "'Tomcat Users List'" <tomcat-user@jakarta.apache.org>
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


Mime
View raw message