2012/4/3 David Sills <dsi...@datasourceinc.com>:
>
> 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
> http://tomcat.apache.org/tomcat-5.5-doc/logging.html, 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 catalina.sh does that (with
-Djava.util.logging etc).

So the question is how do you start your Tomcat.

3. There should be only one logging.properties for java.util.logging
(or log4j.properties 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: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to