title: Where to keep log files of WAR application?
body: <p>I'm trying to configure logging for my web application (WAR), in <code>log4j.properties</code>:</p>
  
  <pre><code>log4j.rootCategory=WARN, RF
  log4j.appender.RF=org.apache.log4j.RollingFileAppender
  log4j.appender.RF.File=???/my-app.log
  </code></pre>
  
  <p>What file path I should specify for <code>my-app.log</code>? Where to keep this file? Currently I'm deploying my application to Tomcat6, but who knows what happens in the future. And who knows how exactly Tomcat will be configured/installed on another machine, in the future.</p>