title: how to setup log4j configuration file
body: <p>I have just started using the log4j 
  if i have the below log4j properties file , what should i modify in the below code to make a file 
  log.out for the application "test-war" deployed in apache tomcat 7.0.</p>
  
  <pre><code># Define the root logger with appender file
  log4j.rootLogger = DEBUG, FILE
  
  # Define the file appender
  log4j.appender.FILE=org.apache.log4j.FileAppender
  log4j.appender.FILE.File=${catalina-base}/logs/log.out
  
  # Define the layout for file appender
  log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
  log4j.appender.FILE.layout.conversionPattern=%m%n
  </code></pre>