Hi Chris,

Es begab sich aber da Christiaan Fluit zur rechten Zeit 20.02.2007 14:03 folgendes schrieb:
Christiaan Fluit wrote:
Looking further at LogManager's Javadoc, I see that it is possible to 
specify the LogManager implementation class, but I doubt that that is 
the route we want to go. At the moment I see no other workaround.

Right after I send this mail, I discovered that Tomcat 5.5+ does in fact 
have a workaround:
Yeah, that is what I would also have thought.
If java logging is the default and logger of choice, I would have expected that it would not cause problems in web applications. Web applications are soo common that its somehow natural that logging should work.

So, I would still vote for java util logging, and if this makes bugs, fix them or find a fix.


"The default implemenatation of java.util.logging provided in the JDK is 
too limited to be useful. A limitation of JDK Logging appears to be the 
inability to have per-web application logging, as the configuration is 
per-VM. As a result, Tomcat will, in the default configuration, replace 
the default LogManager implementation with a container friendly 
implementation called JULI, which addresses these shortcomings."

See http://tomcat.apache.org/tomcat-5.5-doc/logging.html.

This gives us some relief but the problem remains that it depends on the 
servlet container whether logging will behave as expected or not.


Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
Aperture-devel mailing list

DI Leo Sauermann       http://www.dfki.de/~sauermann 

Deutsches Forschungszentrum fuer 
Kuenstliche Intelligenz DFKI GmbH
Trippstadter Strasse 122
P.O. Box 2080           Fon:   +49 631 20575-116
D-67663 Kaiserslautern  Fax:   +49 631 20575-102
Germany                 Mail:  leo.sauermann@dfki.de

Prof.Dr.Dr.h.c.mult. Wolfgang Wahlster (Vorsitzender)
Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats:
Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313