title: Tomcat 7- Change location of log files
body: <p>I am running tomcat7 on ubuntu 14.04. I need to change the folder location for the log file:
  /var/log/tomcat7/catalina.out</p>
  
  <p>I tried the following:</p>
  
  <ol>
  <li><p>Set environment variable CATALINA_OUT in the /etc/environment file to my custom location:
  CATALINA_OUT=/xyz/catalina.out</p></li>
  <li><p>In the /etc/tomcat7/logging.properties, i updated the below property:
  1catalina.org.apache.juli.FileHandler.directory = /xyz
  (this starting saving catalina.2016-03-19.log files to my custom location; instead of the catalina.out)</p></li>
  </ol>
  
  <p>Neither of the above work for me. Please help. Thanks
  Jaskaran</p>