From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] [lame logrotate Q]
Date: Mon, 21 Dec 2009 22:14:20 +0000 [thread overview]
Message-ID: <20091221221420.75537114@digimed.co.uk> (raw)
In-Reply-To: <200912210842.43174.alan.mckinnon@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 457 bytes --]
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 happens if you set up two separate rules, one to rotate at 100K and
one at 7 days?
--
Neil Bothwick
Gravity isn't easy, but it's the law.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
prev parent reply other threads:[~2009-12-21 22:15 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-21 0:06 [gentoo-user] [lame logrotate Q] Harry Putnam
2009-12-21 3:52 ` Dale
2009-12-21 6:42 ` Alan McKinnon
2009-12-21 16:14 ` [gentoo-user] " reader
2009-12-26 19:21 ` Mick
2009-12-21 16:48 ` [gentoo-user] Problem with old nvidia-drivers-71.86.11 (depending x11-base/xorg-server vanished form portage-tree) Christian Könitzer
2009-12-21 21:38 ` [gentoo-user] " walt
2009-12-22 9:56 ` Christian Könitzer
2009-12-21 21:40 ` [gentoo-user] " Alan McKinnon
2009-12-21 22:24 ` Dale
2009-12-22 9:55 ` Christian Könitzer
2009-12-21 22:14 ` Neil Bothwick [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091221221420.75537114@digimed.co.uk \
--to=neil@digimed.co.uk \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox