Re: [gentoo-user] [lame logrotate Q]

2009-12-21 Thread Alan McKinnon
On Monday 21 December 2009 05:52:55 Dale wrote: Harry Putnam wrote: Can anyone show me how to write a logrotate rule that will rotate on either size or age? I use some very simple scripting for yrs but don't really see how to rotate on more than one condition. I'd like to rotate a

Re: [gentoo-user] [lame logrotate Q]

2009-12-21 Thread Neil Bothwick
On Mon, 21 Dec 2009 08:42:43 +0200, Alan McKinnon wrote: That will rotate his log when it gets to 100k, and only when it gets to 100k. The OP wants to rotate when either the log file is a certain size, or every week, whichever comes first. Logrotate does not support that feature. What

Re: [gentoo-user] [lame logrotate Q]

2009-12-20 Thread Dale
Harry Putnam wrote: Can anyone show me how to write a logrotate rule that will rotate on either size or age? I use some very simple scripting for yrs but don't really see how to rotate on more than one condition. I'd like to rotate a certain log weekly or over 7000k and keep no more than 12