It's not a secret anymore!
The moose likes Tomcat and the fly likes logs with Tomcat 5.5.9 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "logs with Tomcat 5.5.9" Watch "logs with Tomcat 5.5.9" New topic

logs with Tomcat 5.5.9

Bug Menot

Joined: Oct 15, 2004
Posts: 26

By default:

1- all logs in Tomcat 5.5.9 are written in CATALINA_HOME/logs directory.

2- at least we have 2 log's files:

catalina.YYYY-MM-DD.log and localhost.YYYY-MM-DD.log

I am trying to move elsewere the logs, by changing the default path.

For localhost's log file, it is an easy thing to set up. We have to write it down in server.xml by using AccessLogValve etc.

My question:

what about catalina.YYYY-MM.DD.log? How can I change the default path for this file to point elsewhere.

I agree. Here's the link:
subject: logs with Tomcat 5.5.9
It's not a secret anymore!