Re: Limit log files rotation

2013-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Felipe, On 3/5/13 11:40 AM, Felipe Jaekel wrote: > Searching a bit more I found this: > http://www.queuemetrics.com/manuals/QM_AdvancedConfig-chunked/ar01s17.html > > Simple to setup, but anyway it would be nice if Tomcat could do > this out of th

Re: Limit log files rotation

2013-03-05 Thread Daniel Mikusa
On Mar 5, 2013, at 12:40 PM, Felipe Jaekel wrote: > Thanks for the link. > > Searching a bit more I found this: > http://www.queuemetrics.com/manuals/QM_AdvancedConfig-chunked/ar01s17.html Watch out when using "logrotate" with the "copytruncate" option, in some circumstances this can result in

Re: Limit log files rotation

2013-03-05 Thread Felipe Jaekel
Thanks for the link. Searching a bit more I found this: http://www.queuemetrics.com/manuals/QM_AdvancedConfig-chunked/ar01s17.html Simple to setup, but anyway it would be nice if Tomcat could do this out of the box, since the server can crash if it runs out of disk space. 2013/3/5 Daniel Mikusa

Re: Limit log files rotation

2013-03-05 Thread Daniel Mikusa
On Mar 5, 2013, at 8:54 AM, Felipe Jaekel wrote: > Hi, > > I'd like to limit log rotation to a specific number of days to avoid that > the logs folder keep growing indeterminately. Which log files are you referring to? Including the names would help. > > Tried to google about, people say to s