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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: http://aspose.com/file-tools
subject: logs with Tomcat 5.5.9
Similar Threads
help configuring log4j properties file to mirror java.util.logging (juli) already in place
Where is logging file stored?
A question about log-rotation on "catalina.out"
Unable to make tomcat log 404 type error messages.
Catalina.YYYY-MM-DD.log no longer being created?