RE: log4j logging on Tomcat: Basic Question

2006-03-05 Thread julie gautier
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

Re: log4j logging on Tomcat: Basic Question

2006-03-05 Thread Jacob Kjome
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

log4j logging on Tomcat: Basic Question

2006-03-05 Thread Rahul
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