Re: catalina.out flooded

2010-07-28 Thread Jacob Kjome
Well, you have some specific loggers set to INFO and DEBUG. Which loggers are causing the excessive output? I suspect the following definitions... log4j.logger.org.apache=info,ApacheLogs log4j.logger.org.apache.axis=debug,ApacheLogs If you really want all the apache libraries logging at the inf

catalina.out flooded

2010-07-28 Thread Johan Martinez
A webapp is flooding tomcat's catalina.out file and I would like to verify if there is something wrong with my log4j configuration. Below is the configuration I have in WEB-INF/classes/log4j.properties of the webapp. Any suggestions or thoughts on what might be wrong with it?? I suspect logs are g

Re: problem using Chainsaw, "found non matching line"

2010-07-28 Thread Scott Deboy
Florian's locale is French, so simpledateformat is constructing timestamps with a dot in the month, which the regular expression wasn't taking into account in LogFilePatternReceiver...I've committed a fix to the receivers companion in svn 980277 and I've uploaded a version of Chainsaw with the fix

Re: Log4j configuration

2010-07-28 Thread Jacob Kjome
On Wed, 28 Jul 2010 10:27:24 -0700 (PDT) mokader wrote: Thanks Jake, Is there any way to override the configuration or remove the existing appenders. Yes, appenders can be removed manually by traversing the logging API.  But, again, it seems like there was some way to tell Log4j not to be

Re: Log4j configuration

2010-07-28 Thread mokader
Thanks Jake, Is there any way to override the configuration or remove the existing appenders. would the call to LogManager.shutdown()and then DOMConfigurator.configure(initUrl) work. Thanks in advance, Mohammed Jacob Kjome wrote: > > Log4j configuration is cumulative.  One call to configu

Re: Log4j configuration

2010-07-28 Thread Jacob Kjome
Log4j configuration is cumulative.  One call to configure() does not override another.  Instead, the configurations are combined.  Each time you configure() on a config file that defines an appender, a new one will be added rather than blow away the old one.  Therefore you get duplicate logging

Log4j configuration

2010-07-28 Thread mokader
Hi, I am adding logging enhancement to my app. There is already a log4j wrapper is available in my app. But the existing is in jar and I can not modify. The problem is, now I have two log4j.xml file. one for my enhancement and other for existing one. I first initialize existing log4j wrapper, it