Hi, On Sat, 20 Jan 2007 16:46:36 +0000 Mick <[EMAIL PROTECTED]> 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