Holger Wiechert | 19 Jan 16:40 2003

RE: Problems using log4j on linux/tomcat

Thanks for the reply,
but unfortunately, the editor is not the problem.
Realized, that the RollingFileAppender itself is
related to the problem. The FileAppender for instance
works just fine.
However, I stop analyzing the problem. Costs just too
many hours for the "rolling" feature.
Cheers, Holger

From: Jonathan Cowherd
Subject: RE: Problems using log4j on linux/tomcat
Date: Mon, 13 Jan 2003 07:40:00 -0800


# Appender RFA writes to the file "my.log" in tomcat's logs dir

Make sure that you have a line return at the end of "logs dir" with
log4j.appender.RFA=org.apache.log4j.RollingFileAppender on it's own line
Something like the following:

# Attach appender stdout to root. Set root level to Level.DEBUG

log4j.rootLogger=DEBUG, stdout, RFA

# The fact that the root level is set to Prority.DEBUG only influences # log
requests made to the root logger. It has no influence on the # *appenders*
(Continue reading)