Re: How to stop WOImage logging
Re: How to stop WOImage logging
- Subject: Re: How to stop WOImage logging
- From: Greg Hulands <email@hidden>
- Date: Thu, 14 Oct 2004 14:19:12 +1000
In my Properties file I have the following
log4j.rootLogger = ERROR, A1
log4j.appender.A1 = org.apache.log4j.ConsoleAppender
log4j.appender.A1.layout = er.extensions.ERXPatternLayout
log4j.appender.A1.layout.ConversionPattern = %d{ISO8601} %-5p %W{n[i:p
s]} %c{1} (%F:%L) %x - %m%n
log4j.logger.er.extensions.ERXNSLogLog4jBridge = ERROR,A1
log4j.additivity.er.extensions.ERXNSLogLog4jBridge = false
But with all these settings, it still shows up WARN logs.
Greg
On 14/10/2004, at 2:03 PM, Mark Edwards wrote:
This may help:
http://developer.apple.com/documentation/WebObjects/
Enterprise_JavaBeans/ContainerConfiguration/chapter_6_section_9.html#/
/apple_ref/doc/uid/TP30000102/BAJFADDG
Regards,
Mark Edwards
On 14/10/2004, at 1:56 PM, Greg Hulands wrote:
Hi,
In my log file I have a tonne of messages that look like this:
2004-10-14 13:24:41,083 WARN ShoeBox[3510:51136 1] NSLog
(ERXNSLogLog4jBridge.java:41) - <WOImage>: could not get
height/width information for image at .....
Does anyone know how I can turn off the WARN level of logging? I have
had a look at log4j documents, but cannot figure it out. I also tried
passing in the stuff for NSLog, but don't really understand all the
levels
ShoeBox.woa/ShoeBox -DNSDebugLevel=DebugLevelCritical
-DNSDebugGroups="(2:3)"
I then tried in the Application constructor to disable the logging
with:
NSLog.refuseDebugLoggingForGroups(NSLog.DebugGroupWebObjects);
I also tried different debug groups, but then it struck me that it
only disables the DEBUG type, but I want to disable the WARN type,
yet there is no method to do that.
Does anyone know how to turn of the WARN level logging?
Regards,
Greg
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden