tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <>
Subject Re: Enabling logging in Tomcat 5.5
Date Tue, 03 Apr 2012 14:02:32 GMT
2012/4/3 David Sills <>:
> I am forced by a client's requirement to use Java 1.4.2 (I know,
> antediluvian, right?) and so to test on Tomcat 5.5 with the
> compatibility package. So far, Tomcat works fine, with one exception: I
> get no logs. I have set up logging just as suggested (in detail) in
>, but without avail.
> Any other ideas? My application isn't deploying, and I can't find out
> why without logs, of course.

1. Do you intend to use java.util.logging or log4j ?  I'd recommend the former.

But if you have log4j.jar  among "common" libraries then
commons-logging library will autoconfigure itself to use Log4J instead
of java.util.logging.

So the question is what libraries do you have and where.

2. java.util.logging should be configured by startup script to use
Tomcat implementation of it. See how does that (with
-Djava.util.logging etc).

So the question is how do you start your Tomcat.

3. There should be only one for java.util.logging
(or for juli) in a classpath of certain class-loader.
If there are several files, one of them wins.

Do you have logging output on your console?  (or catalina.out file
where it is usually redirected)?

Best regards,
Konstantin Kolinko

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message