tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: rotation of catalina.out on restart but no truncation
Date Fri, 09 Nov 2012 08:04:03 GMT
2012/11/9 Meik Suchlich <Meik.Suchlich@brandad-systems.de>:
> Hi,
>
> we've got an effekt on catalina.out.
> We don't use hot deployment. Instead we stop and start our tomcat for installing new
Version.
> The restart causes rotation of catalina.out, but does not truncate.
> How can we solve this?
>

1. Standard Tomcat scripts neither rotate nor truncate the file. So
what is your question?  Are you asking how to truncate a file on a
Unix system?

2. Do not write anything to the Console (and configure your logging to
log nothing to the Console).
Then there will be no need to bother with an empty catalina.out file.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message