A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
$CATALINA_HOME/conf, $CATALINA_HOME/work, $CATALINA_HOME/logs
Joined: Jul 15, 2006
Jun 26, 2007 14:22:00
We have a Linux box and
is installed on
/usr/local/apache-tomcat-5.5.23 ==> $CATALINA_HOME
I have noticed that Tomcat writes to $CATALINA_HOME/work and $CATALINA_HOME/logs directory.
This is an issue for my IT dept, because we don't
monitor those directories for "size". It seems like if left unchecked these could grow unbounded.
I would like to have Tomcat do its stuff in a seperate IT monitored dir on the same box.
Is this possible? or does TomCat code hardcode to base everything off
Joined: Dec 26, 2000
Jun 27, 2007 00:54:00
please change the path of catalina.out in bin/catalina.sh. and also make changes in conf/logging.properties.
Joined: Dec 11, 2004
Jun 27, 2007 05:00:00
The work directory won't continue to grow.
That's where the compiled
code and classes go.
Once all of your JSPs have been compiled, that directory won't grow much.
I use log4j in my application.
With it, I can control not only where my logs go but when they should be rotated out, etc...
Once things are up and running, Tomcat doesn't write much to its own logs.
How to ask a question...
Simple Servlet Examples
subject: $CATALINA_HOME/conf, $CATALINA_HOME/work, $CATALINA_HOME/logs
Tomcat Service on Windows 2003 server
Tomcat won't always compile JSP Files
Tomcat not generating Catalina.out
Problem after starting the tomcat servers
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014