I havd to do the same and here is my properties file :
log4j.rootLogger=OFF,
log4j.logger.foo.mypack=DEBUG, stdout, R
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{dd
As far as I can tell, you aren't assigning the "R" appender to any
logger. Was that just an oversight or did you expect something to happen
simply by defining the "R" appender?
Jake
At 04:04 PM 3/5/2006 -0800, you wrote:
>Hi,
>
>I am trying to use log4j for my application which uses
>Tomcat 5
Hi,
I am trying to use log4j for my application which uses
Tomcat 5.5.8 and had two JSPs and frew class files.
I instantiate logger as follows:
//Exp is in package edu.uta.util
final static Logger log = Logger.getLogger(Exp.class);
My log4j.properties file is in common/classes folder
and has