log4j

Kaushal Shriyan kaushalshriyan at gmail.com
Thu Jul 8 10:25:09 UTC 2010


Hi,

Is there a way to run log4j appender at a specified time?

log4j.rootLogger=INFO, R
log4j.appender.R=org.apache.log4j.DailyRollingFileAppender
log4j.appender.R.File=${catalina.home}/logs/catalina.out
log4j.appender.R.DatePattern='.'yyyy-MM-dd
log4j.appender.R.layout=org.apache.log4j.PatternLayout

I have put the log4j.properties under /opt/tomcat0/common/classes

Please suggest.

Thanks and Regards

Kaushal




More information about the ubuntu-users mailing list