Riz,

> hmmm...still having issues with this. Dont understand why..I commented
> out the A1 appender and uncommented the R appender (as below). The
> applications are still logging to catalina.out !! How do I stop this???
> Please help!

> log4j.rootLogger=INFO, R
> log4j.appender.R=org.apache.log4j.DailyRollingFileAppender
> log4j.appender.R.DatePattern='.'yyyy-MM-dd
> log4j.appender.R.File=/usr/local/tomcat/logs/tomcat.log
> log4j.appender.R.layout=org.apache.log4j.PatternLayout
> log4j.appender.R.layout.ConversionPattern=%d [%t] %-5p %c - %m%n

Hmm. Try turning on debugging for log4j (see the log4j documentation for
how to do this). It ought to tell you which appenders are being started
up, etc.

-chris


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to