Try something like this:

# Whattaa logga
log4j.logger=FATAL
log4j.logger.fr.improve.struts=INFO
log4j.logger.org.apache.ojb=INFO
log4j.logger.org.apache.struts=INFO
log4j.logger.com.candor.hummingbird=DEBUG


GreetZ

Nils

-----Original Message-----
From: Abhinav Bhatnagar [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 06, 2005 2:34 PM
To: Struts Users Mailing List; Martin Gainty
Subject: RE: how do I switch off Struts - internal logging?


Thanks Martin,

I have these parameters in my log4j xml file, but that's for my
application's logs.

If I change it there, my application logging will also stop, which I
don't want.

Can I do it specifically for struts internal logging only?

Thanks and regards,
Abhinav

-----Original Message-----
From: Martin Gainty [mailto:[EMAIL PROTECTED]

Sent: Friday, June 03, 2005 8:30 PM
To: Struts Users Mailing List
Subject: Re: how do I switch off Struts - internal logging?

commons-logging.properties
# Disable logging
#org.apache.commons.logging.Log =
org.apache.commons.logging.impl.NoOpLog

log4j.properties
log4j.enable=OFF

consult the applicable doc for either package
Martin-

 in ----- Original Message -----

From: "Abhinav Bhatnagar" <[EMAIL PROTECTED]>
To: <user@struts.apache.org>
Sent: Friday, June 03, 2005 10:37 AM
Subject: how do I switch off Struts - internal logging?


how do I switch off Struts - internal logging?




I am using struts 1.2.6.




Thanks in advance.




Abhinav


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


******************* CAUTION - Disclaimer ****************** This e-mail
contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use
of the addressee(s). If you are not the intended recipient, please notify
the sender by e-mail and delete the original message. Further, you are not
to copy, disclose, or distribute this e-mail or its contents to any other
person and any such actions are unlawful. This e-mail may contain viruses.
Infosys has taken every reasonable precaution to minimize this risk, but is
not liable for any damage you may sustain as a result of any virus in this
e-mail. You should carry out your own virus checks before opening the e-mail
or attachment. Infosys reserves the right to monitor and review the content
of all messages sent to or from this e-mail address. Messages sent to or
from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to