I am trying to configure logging for my web application (WAR) in log4j.properties:
log4j.rootCategory=WARN, RF
log4j.appender.RF=org.apache.log4j.RollingFileAppender
log4j.appender.RF.File=???/my-app.log
Which file path should I specify for my-app.log? Where to save this file? I am currently deploying my application in Tomcat6, but who knows what will happen in the future. And who knows how exactly Tomcat will be configured / installed on another machine in the future.
source
share