Re: unable to setup log4j for tomcat

2005-10-07 Thread John Cherouvim
log4j.rootLogger=debug, stdout, R log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n log4j.appender.R=org.apache.log4j.RollingFileAppender

RE: Programmatically controlling log4j

2005-10-07 Thread Rakesh Patel
Errrhow? Rakesh -Original Message- From: James Stauffer [mailto:[EMAIL PROTECTED] Sent: 05 October 2005 20:14 To: Log4J Users List Subject: Re: Programmatically controlling log4j You probably don't want to turn them off but you may want to set their level to error or fatal. On

Re: unable to setup log4j for tomcat

2005-10-07 Thread John Cherouvim
Ok I figured it out I needed to do: log4j.appender.R.File=${catalina.home}/logs/foobar.log thanks John Cherouvim wrote: log4j.rootLogger=debug, stdout, R log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout

What happened to chainsaw?

2005-10-07 Thread Jochen Wiedmann
Hi, following the instructions on http://logging.apache.org/log4j/docs/chainsaw.html I downloaded install-chainsaw.xml, which seems to do its job. However, the downloaded build.xml neither contains a chainsaw target nor does the chainsaw directory contain any relevant files. Thanks,

Re: Log4j Appenders/Category Usage

2005-10-07 Thread Rakesh Patel
Because you forgot the attribute additivity=false BTW: you should use the new Identifier logger. category is deprecated. logger name=com.company.a.b.c.f additivity=false and logger name=com.company.a.b.d.f additivity=false Heri -Original Message- From: news

Re: Log4j Appenders/Category Usage

2005-10-07 Thread James Stauffer
One option: logger name=com.mycompany.a.b.c.e additivity=false priority value=info/ appender-ref ref=file_e appender-ref ref=everything /logger logger name=com.mycompany.a.b.d.f additivity=false priority value=info/ appender-ref ref=file_f appender-ref ref=everything /logger logger

RE: What happened to chainsaw?

2005-10-07 Thread Scott Deboy
Chainsaw was moved out of the logging-log4j CVS repository to its own repository: logging-chainsaw After the move, the install-chainsaw scripted was updated in CVS but the log4j site wasn't updated to reflect the change (I really need to figure out how to update the site). Here's the CVS link

Some Feedback from using Chainsaw V2 ...

2005-10-07 Thread Siegfried Goeschl
Hi folks, I started to use Chainsaw V2 in production and would like to provide some feedback ... very politely of course and hoping I didn't miss something VERY obvious :-) +) it would be helpful to use command line parameters, i.e. to open chainsaw with XML logfile defined on the

RE: Some Feedback from using Chainsaw V2 ...

2005-10-07 Thread Scott Deboy
Thanks for the feedback - Chainsaw supports most of what you've suggested. Here are the details: - You should be able to open Chainsaw from the command line and specify the configuration file by adding -Dlog4j.configuration=chainsaw.xml to the command (log4j.xml has to be in the classpath).