Where did you put log4j.properties?  For Tomcat 5.5.xx, it should be in CATALINA_HOME/common/classes.

Try adding the following to CATALINA_OPTS....

-Dlog4j.debug=true

Jake

On Wed, 7 Jul 2010 11:58:23 +0530
 Kaushal Shriyan <kaushalshri...@gmail.com> wrote:
Hi,

I am running tomcat server apache-tomcat-5.5.27. I have set the below
parameters in log4j.properties

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

ist-appender.jar,log4j-1.2.15.jar and commons-logging-1.1.1.jar under
common/lib directory.

The above settings didnot worked. is there a way to know why it didnot worked

Please suggest/guide

Thanks

Kaushal

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logging.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logging.apache.org

Reply via email to