views:

40

answers:

1

I have the following logging.properties configuration:

1catalina.org.apache.juli.FileHandler.level = FINE
1catalina.org.apache.juli.FileHandler.directory = /mnt/asd/tomcat_logs
1catalina.org.apache.juli.FileHandler.prefix = catalina.

2localhost.org.apache.juli.FileHandler.level = FINE
2localhost.org.apache.juli.FileHandler.directory = /mnt/asd/tomcat_logs
2localhost.org.apache.juli.FileHandler.prefix = localhost.

3manager.org.apache.juli.FileHandler.level = FINE
3manager.org.apache.juli.FileHandler.directory = /mnt/asd/tomcat_logs
3manager.org.apache.juli.FileHandler.prefix = manager.

4host-manager.org.apache.juli.FileHandler.level = FINE
4host-manager.org.apache.juli.FileHandler.directory = /mnt/asd/tomcat_logs
4host-manager.org.apache.juli.FileHandler.prefix = host-manager.

In the folder /mnt/asd/tomcat_logs there are the following files:

  • catalina.2010-08-06.log
  • host-manager.2010-08-06.log
  • localhost.2010-08-06.log
  • manager.2010-08-06.log

But in the /etc/tomcat/tomcat/log folder there is also catalina.out file. How can I change the path of the file to /mnt/asd/tomcat_logs??