Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [lame logrotate Q]
Date: Mon, 21 Dec 2009 22:15:12
Message-Id: 20091221221420.75537114@digimed.co.uk
In Reply to: Re: [gentoo-user] [lame logrotate Q] by Alan McKinnon
1 On Mon, 21 Dec 2009 08:42:43 +0200, Alan McKinnon wrote:
2
3 > That will rotate his log when it gets to 100k, and only when it gets to
4 > 100k. The OP wants to rotate when either the log file is a certain
5 > size, or every week, whichever comes first.
6 >
7 > Logrotate does not support that feature.
8
9 What happens if you set up two separate rules, one to rotate at 100K and
10 one at 7 days?
11
12
13 --
14 Neil Bothwick
15
16 Gravity isn't easy, but it's the law.

Attachments

File name MIME type
signature.asc application/pgp-signature