You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Glen Mazza <gl...@gmail.com> on 2011/08/30 21:58:14 UTC

Having difficulty suppressing the org.apache.tomcat.util.digester.Digester logger

Hi, I'm using Tomcat 7.0.14 on Ubuntu Linux and wanted to make the 
logging in the logs/catalina.out file more detailed than INFO.  So I 
adjusted the $CATALINA_HOME/conf/logging.properties file[1], adding this 
entry near the top:

.level = FINE

and, sure enough, when I restarted Tomcat got all the [FINE] logging 
messages in the catalina.out file.  All good there.

But I'm getting a ton of org.apache.tomcat.util.digester.Digester 
logging that I *don't* want, such as the following:

Aug 30, 2011 3:39:29 PM org.apache.tomcat.util.digester.Digester characters
FINE: characters(
   )
Aug 30, 2011 3:39:29 PM org.apache.tomcat.util.digester.Digester characters
FINE: characters(
   )
Aug 30, 2011 3:39:29 PM org.apache.tomcat.util.digester.Digester 
startElement
FINE: startElement(,,Listener)
Aug 30, 2011 3:39:29 PM org.apache.tomcat.util.digester.Digester 
startElement
FINE:   Pushing body text '


So going back to the $CATALINA_HOME/conf/logging.properties file, I 
added this entry in:

org.apache.tomcat.util.digester.Digester.level = INFO

But this is failing to suppress the above logging messages.  (I also 
tried SEVERE with no success either.)

Is there something I'm doing wrong--how do I set the default logging 
level to FINE *except* for org.apache.tomcat.util.digester.Digester?

Thanks,
Glen


[1] 
http://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk/conf/logging.properties

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Having difficulty suppressing the org.apache.tomcat.util.digester.Digester logger

Posted by Jesse Farinacci <ji...@gmail.com>.
Thank you!

On Thu, Sep 8, 2011 at 2:28 AM, Konstantin Kolinko
<kn...@gmail.com> wrote:
> Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51758

-Jesse

-- 
There are 10 types of people in this world, those
that can read binary and those that can not.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Having difficulty suppressing the org.apache.tomcat.util.digester.Digester logger

Posted by Konstantin Kolinko <kn...@gmail.com>.
2011/9/8 Jesse Farinacci <ji...@gmail.com>:
> PING! I also suffer from this but was previously too ashamed to ask.
>
> :sigh:

http://svn.apache.org/viewvc?rev=1164569&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51758

>
> On Tue, Aug 30, 2011 at 3:58 PM, Glen Mazza <gl...@gmail.com> wrote:
>> Hi, I'm using Tomcat 7.0.14 on Ubuntu Linux and wanted to make the logging
>> in the logs/catalina.out file more detailed than INFO.  So I adjusted the
>> $CATALINA_HOME/conf/logging.properties file[1], adding this entry near the
>> top:
>>
>> .level = FINE
>>
>> and, sure enough, when I restarted Tomcat got all the [FINE] logging
>> messages in the catalina.out file.  All good there.
>>
>> But I'm getting a ton of org.apache.tomcat.util.digester.Digester logging
>> that I *don't* want, such as the following:
>>
>> Aug 30, 2011 3:39:29 PM org.apache.tomcat.util.digester.Digester characters
>> FINE: characters(
>>  )
>> Aug 30, 2011 3:39:29 PM org.apache.tomcat.util.digester.Digester characters
>> FINE: characters(
>>  )
>> Aug 30, 2011 3:39:29 PM org.apache.tomcat.util.digester.Digester
>> startElement
>> FINE: startElement(,,Listener)
>> Aug 30, 2011 3:39:29 PM org.apache.tomcat.util.digester.Digester
>> startElement
>> FINE:   Pushing body text '
>>
>>
>> So going back to the $CATALINA_HOME/conf/logging.properties file, I added
>> this entry in:
>>
>> org.apache.tomcat.util.digester.Digester.level = INFO
>>
>> But this is failing to suppress the above logging messages.  (I also tried
>> SEVERE with no success either.)
>>
>> Is there something I'm doing wrong--how do I set the default logging level
>> to FINE *except* for org.apache.tomcat.util.digester.Digester?
>>
>> Thanks,
>> Glen
>>
>>
>> [1]
>> http://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk/conf/logging.properties
>>
>

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Having difficulty suppressing the org.apache.tomcat.util.digester.Digester logger

Posted by Jesse Farinacci <ji...@gmail.com>.
PING! I also suffer from this but was previously too ashamed to ask.

:sigh:

On Tue, Aug 30, 2011 at 3:58 PM, Glen Mazza <gl...@gmail.com> wrote:
> Hi, I'm using Tomcat 7.0.14 on Ubuntu Linux and wanted to make the logging
> in the logs/catalina.out file more detailed than INFO.  So I adjusted the
> $CATALINA_HOME/conf/logging.properties file[1], adding this entry near the
> top:
>
> .level = FINE
>
> and, sure enough, when I restarted Tomcat got all the [FINE] logging
> messages in the catalina.out file.  All good there.
>
> But I'm getting a ton of org.apache.tomcat.util.digester.Digester logging
> that I *don't* want, such as the following:
>
> Aug 30, 2011 3:39:29 PM org.apache.tomcat.util.digester.Digester characters
> FINE: characters(
>  )
> Aug 30, 2011 3:39:29 PM org.apache.tomcat.util.digester.Digester characters
> FINE: characters(
>  )
> Aug 30, 2011 3:39:29 PM org.apache.tomcat.util.digester.Digester
> startElement
> FINE: startElement(,,Listener)
> Aug 30, 2011 3:39:29 PM org.apache.tomcat.util.digester.Digester
> startElement
> FINE:   Pushing body text '
>
>
> So going back to the $CATALINA_HOME/conf/logging.properties file, I added
> this entry in:
>
> org.apache.tomcat.util.digester.Digester.level = INFO
>
> But this is failing to suppress the above logging messages.  (I also tried
> SEVERE with no success either.)
>
> Is there something I'm doing wrong--how do I set the default logging level
> to FINE *except* for org.apache.tomcat.util.digester.Digester?
>
> Thanks,
> Glen
>
>
> [1]
> http://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk/conf/logging.properties
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>



-- 
There are 10 types of people in this world, those
that can read binary and those that can not.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org