aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "logs with Tomcat 5.5.9" Watch "logs with Tomcat 5.5.9" New topic
Author

logs with Tomcat 5.5.9

Bug Menot
Greenhorn

Joined: Oct 15, 2004
Posts: 26
Hi,

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.


Thx.
 
Consider Paul's rocket mass heater.
 
subject: logs with Tomcat 5.5.9
 
Similar Threads
A question about log-rotation on "catalina.out"
Catalina.YYYY-MM-DD.log no longer being created?
help configuring log4j properties file to mirror java.util.logging (juli) already in place
Unable to make tomcat log 404 type error messages.
Where is logging file stored?