tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: How do I easily set logging verbosity for coyote and the like?
Date Thu, 19 Jun 2003 05:33:09 GMT

<marc.lehmann@infineon.com> wrote in message
news:9843A649BAD7FB4686F6FCBC840D600E04064E7A@mucse001.eu.infineon.com...
> Hi *,
>
> I'm using Tomcat 5.0.2 and J2SDK1.4.2 beta. The Tomcat log fills up with a
> lot of INFO messages which I wouldn't like to see. (Stdout and stderr are
> redirected to files.) Tweaking the debug and/or the verbosity attributes
for
> the respective components in server.xml has no effect with respect to
> suppressing those messages. As logging is ultimately managed by
> java.util.logging or log4j I can certainly tweak logging.properties or
> log4j.properties respectively. However, it would be much more convenient
to
> configure all aspects of Tomcat logging in server.xml. There may also be
> side-effects as the configuration for java.util.logging holds for the
entire
> JDK (at least if I don't pass a dedicated logging.properties to Tomcat at
> start-up).
>
> Is this "separation" by design? Are changes in the pipeline for
forthcoming
> Tomcat versions? If not, does anyone have an easy solution/work-around?

It is by design.  TC 5 primarily uses commons-logging (with, at the moment,
some legacy support for catalina-logging).  The path at the moment is to
more more to commons-logging, and away from catalina-logging.  So the short
answer to your questions are (in order): yes, no, no.

>
> Regards,
> Marc




---------------------------------------------------------------------
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