avernet
asked on
Tomcat: how to force all the logs to go in one file
A default installation of Tomcat logs things in admin.{date}.log, catalina.{date}.log, host-manager.{date}.log, manager.{date}.log, and localhost.{date}.log. How to change the configuration (I guess logs/logging.properties) to send everything in one file (say logs/tomcat.log), and always the same file (without the date in the file name)?
Alex
Alex
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You can combine them into one common file by changing the prefix but you cannot do away with the date stamping.
ASKER
All,
Thank you for the answers to this question.
Alex
Thank you for the answers to this question.
Alex
http://tomcat.apache.org/tomcat-5.5-doc/logging.html
Scroll down some more for logs/logging.propertiers sample. You have to change all the prefixes to "tomcat"