You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by André Warnier <aw...@ice-sa.com> on 2010/07/09 23:32:58 UTC
Tomcat 7.0, logging configuration
Hi.
I notice in the online doc of Tomcat 7.0, page
http://tomcat.apache.org/tomcat-7.0-doc/logging.html
at the end of the first big box on the page, this paragraph :
# For example, set the com.xyz.foo logger to only log SEVERE
# messages:
#org.apache.catalina.startup.ContextConfig.level = FINE
#org.apache.catalina.startup.HostConfig.level = FINE
#org.apache.catalina.session.ManagerBase.level = FINE
I am far from an expert in Tomcat logging (*), but it seems to me that this section is
rather nonsensical. I believe the same section is also part of the logging.properties
file distributed with Tomcat.
..and has been distributed with Tomcat since at least version 5.0, in the same apparently
nonsensical way.
Might not this 7.0 release be the perfect occasion to make it more sensical, or retire it ?
(*) which is why I was perusing that page, in the forlorn hope of getting more enlightened
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Tomcat 7.0, logging configuration
Posted by Mark Thomas <ma...@apache.org>.
On 10/07/2010 05:22, Caldarale, Charles R wrote:
>> From: Pid [mailto:pid@pidster.com]
>> Subject: Re: Tomcat 7.0, logging configuration
>>
>> On 09/07/2010 22:32, André Warnier wrote:
>>>
>>> I believe the same section is also part of the
>>> logging.properties file distributed with Tomcat.
>>>
>>> Might not this 7.0 release be the perfect occasion
>>> to make it more sensical, or retire it ?
>>
>> You know the refrain now, don't you?
>> "Patches are welcome."
:)
> Actually, it has been fixed. The 7.0.0 logging.properties file now has this at the end:
>
> # For example, set the org.apache.catalina.util.LifecycleBase logger to log
> # each component that extends LifecycleBase changing state:
> #org.apache.catalina.util.LifecycleBase.level = FINE
>
> The docs haven't caught up yet.
Fixed. Thanks for the prompt. It will be in 7.0.1.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Tomcat 7.0, logging configuration
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Pid [mailto:pid@pidster.com]
> Subject: Re: Tomcat 7.0, logging configuration
>
> On 09/07/2010 22:32, André Warnier wrote:
> >
> > I believe the same section is also part of the
> > logging.properties file distributed with Tomcat.
> >
> > Might not this 7.0 release be the perfect occasion
> > to make it more sensical, or retire it ?
>
> You know the refrain now, don't you?
> "Patches are welcome."
Actually, it has been fixed. The 7.0.0 logging.properties file now has this at the end:
# For example, set the org.apache.catalina.util.LifecycleBase logger to log
# each component that extends LifecycleBase changing state:
#org.apache.catalina.util.LifecycleBase.level = FINE
The docs haven't caught up yet.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
Re: Tomcat 7.0, logging configuration
Posted by Pid <pi...@pidster.com>.
On 09/07/2010 22:32, André Warnier wrote:
> Hi.
>
> I notice in the online doc of Tomcat 7.0, page
> http://tomcat.apache.org/tomcat-7.0-doc/logging.html
> at the end of the first big box on the page, this paragraph :
>
> # For example, set the com.xyz.foo logger to only log SEVERE
> # messages:
> #org.apache.catalina.startup.ContextConfig.level = FINE
> #org.apache.catalina.startup.HostConfig.level = FINE
> #org.apache.catalina.session.ManagerBase.level = FINE
>
> I am far from an expert in Tomcat logging (*), but it seems to me that
> this section is rather nonsensical. I believe the same section is also
> part of the logging.properties file distributed with Tomcat.
> ..and has been distributed with Tomcat since at least version 5.0, in
> the same apparently nonsensical way.
>
> Might not this 7.0 release be the perfect occasion to make it more
> sensical, or retire it ?
You know the refrain now, don't you?
"Patches are welcome."
;)
p
> (*) which is why I was perusing that page, in the forlorn hope of
> getting more enlightened
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>