tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Layman <>
Date Mon, 02 Jul 2001 11:09:10 GMT

	Every time the Tomcat process is started the files are wiped clean.
This means that for the service, every time the service is started it will
clean the files (probably every machine restart).

	The maximum file size is limited by the size of the disk the log
files reside on.  When they reach the maximum Tomcat keeps running, but
other parts of your WebApp might fail (like you can't compile any more JSP
files) and your system might begin to have problems (depending upon what
else is using that disk).

	One suggestion would be to stop the service on a regular basis (like
daily or weekly), copy the log files elsewhere, and then start the service
back up.  Something like:
net stop Tomcat
cp c:\tomcat\logs\*.log c:\tomcat\logs\old\
net start Tomcat

and then us NT's at to run it on a regular basis.


> -----Original Message-----
> From: Hughes, Tim []
> Sent: Monday, July 02, 2001 3:55 AM
> To: ''
> Hi,
> (Tomcat 3.2.1, Windows 2000, JDK 1.3.1)
> Does anyone know what the behaviour of log files is in Tomcat?
> I have noticed that each time that Tomcat is restarted, the 
> log files get
> wiped clean.
> What happens if I have Tomcat running as a NT service? Do the 
> files get
> wiped after a certain time period or do they just grow and 
> grow until the
> files reach some maximum size. If so what happens then?
> What advice would you give me on how to setup the logfiles for Tomcat
> running as an NT service.
> I have not seen any information about this in the documentation or any
> relevant information in the archives.
> Thanks.
> Tim.
> This message contains information that may be privileged or 
> confidential and is the property of the Cap Gemini Ernst & 
> Young Group. It is intended only for the person to whom it is 
> addressed. If you are not the intended recipient, you are not 
> authorized to read, print, retain, copy, disseminate, 
> distribute, or use this message or any part thereof. If you 
> receive this message in error, please notify the sender 
> immediately and delete all copies of this message.

View raw message