You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Ray_Clough <rc...@kamakuraco.com> on 2009/02/01 02:40:03 UTC

turning off logging for tld validation during startup

Due to the high volume of console logging or tld errors during startup, I
want to turn logging off for this class.  I've tried appending this to the
logging properties files, but it doesn't work.  Can you suggest the correct
input?  I've seen a lot of attempts at fixing the tlds, but this won't be
feasible in our case.

# turn off deployment-time logging relating to validation of tlds
log4j.logger.org.apache.geronimo.deployment.xmlbeans=OFF

Thank you very much,
Ray Clough

-- 
View this message in context: http://www.nabble.com/turning-off-logging-for-tld-validation-during-startup-tp21770637s134p21770637.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


RE: turning off logging for tld validation during startup

Posted by Ray Clough <rc...@kamakuraco.com>.
I get over 10000 lines of logging every time I deploy.  I say it should be turned off.  Especially as everything seems to work as planned anyway.
- Ray Clough



-----Original Message-----
From: Kevan Miller [mailto:kevan.miller@gmail.com]
Sent: Sun 2/8/2009 5:59 PM
To: user@geronimo.apache.org
Subject: Re: turning off logging for tld validation during startup
 

On Jan 31, 2009, at 8:40 PM, Ray_Clough wrote:

>
> Due to the high volume of console logging or tld errors during  
> startup, I
> want to turn logging off for this class.  I've tried appending this  
> to the
> logging properties files, but it doesn't work.  Can you suggest the  
> correct
> input?  I've seen a lot of attempts at fixing the tlds, but this  
> won't be
> feasible in our case.
>
> # turn off deployment-time logging relating to validation of tlds
> log4j.logger.org.apache.geronimo.deployment.xmlbeans=OFF

xmlbeans is creating the exception, but that's not the source of the  
log message. JspModuleBuilderExtension is creating the WARN messages.  
The following should suppress the WARNings...

log4j 
.logger 
.org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension=ERROR

Given the number of TLD's that violate the TLD schema, I wonder if we  
should just turn the WARN into a DEBUG...

--kevan


Re: turning off logging for tld validation during startup

Posted by Kevan Miller <ke...@gmail.com>.
On Jan 31, 2009, at 8:40 PM, Ray_Clough wrote:

>
> Due to the high volume of console logging or tld errors during  
> startup, I
> want to turn logging off for this class.  I've tried appending this  
> to the
> logging properties files, but it doesn't work.  Can you suggest the  
> correct
> input?  I've seen a lot of attempts at fixing the tlds, but this  
> won't be
> feasible in our case.
>
> # turn off deployment-time logging relating to validation of tlds
> log4j.logger.org.apache.geronimo.deployment.xmlbeans=OFF

xmlbeans is creating the exception, but that's not the source of the  
log message. JspModuleBuilderExtension is creating the WARN messages.  
The following should suppress the WARNings...

log4j 
.logger 
.org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension=ERROR

Given the number of TLD's that violate the TLD schema, I wonder if we  
should just turn the WARN into a DEBUG...

--kevan