BTW, in my case I set the root looger to ERROR and then explicitly enabke anything I'm interested in.
log4j.rootCategory=ERROR, CONSOLE log4j.logger.com.ninsky=DEBUG Steve > -----Original Message----- > From: Steve Raeburn [mailto:[EMAIL PROTECTED] > Sent: June 27, 2003 3:35 PM > To: Struts Users Mailing List > Subject: RE: using Commons logging for struts > > > You should be able to configure the underlying logging mechanism > to not log > struts messages. > > For example, if you are using log4j you could add a line like > log4j.logger.org.apache.struts=ERROR > to your log4j.properties file and then you would only see error messages > from struts. You might need to add other similar lines to filter other > packages that struts depends on. > > Steve > > > -----Original Message----- > > From: Swaminathan Gurumoorthy [mailto:[EMAIL PROTECTED] > > Sent: June 27, 2003 3:18 PM > > To: [EMAIL PROTECTED] > > Subject: using Commons logging for struts > > > > > > I use commons logging in my struts app. I am given to understand > > the Struts Framework itself uses Commons logging for its > internal logging. > > > > Because of this my app log file has lots of struts log messages - > > like how it reads web.xml and such. Is there any way to tell > > struts not to log in my log file. > > > > Thanks in advance. > > Swami > > > > > > --------------------------------- > > Do you Yahoo!? > > SBC Yahoo! DSL - Now only $29.95 per month! > > > > --------------------------------------------------------------------- > 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]