From: Hans-Werner Hilse <hilse@web.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: logrotate won't rotate portage logs
Date: Sun, 21 Jan 2007 15:21:44 +0100 [thread overview]
Message-ID: <20070121152144.3e78a344.hilse@web.de> (raw)
In-Reply-To: <358eca8f0701200846w24063a95yfefc7d59c2c39fbf@mail.gmail.com>
Hi,
On Sat, 20 Jan 2007 16:46:36 +0000
Mick <michaelkintzios@gmail.com> wrote:
> Thanks HW, this is what logrotate -d shows re. portage logs:
> ================================
> # logrotate -d /etc/logrotate.conf
> [snip...]
> rotating pattern: /var/log/portage/*.log
> weekly (1 rotations)
> [snip...]
> considering log /var/log/portage/4053-xorg-x11-6.8.2-r6.log
> log does not need rotating
> [snip...]
> ================================
Hm, I've never fiddled with logrotate around so much, but if I'm not
misinterpreting the man page, you can rotate based on the age of a file
using the directive "maxage <days>". The "weekly" rotation seems to
have some state saving and checking on which rotation is based on.
> I don't know if you can see something amiss above. I guess I can wait
> for a week and see if this problem recurs.
You could cheat and use "hwclock" ;-) (if you do, don't forget
"--noadjtime" or your clock will skip drastically on each next reboot)
-hwh
--
gentoo-user@gentoo.org mailing list
prev parent reply other threads:[~2007-01-21 14:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-15 19:32 [gentoo-user] logrotate won't rotate portage logs Mick
2007-01-20 0:34 ` [gentoo-user] " Mick
2007-01-20 15:24 ` Hans-Werner Hilse
2007-01-20 16:46 ` Mick
2007-01-21 14:21 ` Hans-Werner Hilse [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=20070121152144.3e78a344.hilse@web.de \
--to=hilse@web.de \
--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