Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 208718

Summary: app-admin/logrotate-3.7.2 : move cron.daily/logrotate.cron to cron.hourly/
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: New packagesAssignee: Daniel Gryniewicz (RETIRED) <dang>
Status: RESOLVED WONTFIX    
Severity: enhancement    
Priority: Lowest    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Toralf Förster gentoo-dev 2008-02-03 10:39:35 UTC
Especially for fast growing log file otherwise the "size" option of the logrotate config files under /etc/logrotate.d/ didn't become effective.


Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-02-03 10:42:40 UTC
o_O

How about that you move it yourself if you need to rotate logs every hour, because 99% of people out there has no absolutely no need for this?
Comment 2 Toralf Förster gentoo-dev 2008-02-03 10:58:32 UTC
Oh, yes I moved it for me already but I thought that much more people would need it - OTOH running logrotate is cheap so there shouldn't be a big impact isn't it ?
Comment 3 Daniel Gryniewicz (RETIRED) gentoo-dev 2008-02-03 22:19:58 UTC
I think that, in general, daily is a much better solution.  If your log files are growing so fast they need to be rotated hourly, you should be looking at alternative solutions.  You won't have more then a couple of hours of logs anyway, so you should look at logging to a remote host with more disk space, or lowering the verbosity of your logs.

You can, of course, move it there yourself (like you did), but I think daily is the better default setting.