Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

logs with Tomcat 5.5.9

 
Bug Menot
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic