On Wednesday 03 August 2005 16:10, Uwe Thiem wrote: > Are you sure you aren't using it? Have you looked into > /etc/cron.daily?
Yes, I'm sure. # emerge -s logrotate * app-admin/logrotate Latest version available: 3.7.1-r1 Latest version installed: [ Not Installed ] Size of downloaded files: 31 kB Homepage: http://www.gentoo.org Description: Rotates, compresses, and mails system logs License: GPL-2 # ls /etc/cron.daily/ slocate syslog.cron where syslog.cron is _not_ part of logrotate, but is instead a script (I suppose it comes with sysklogd, but I'm not sure) whose purpose, as the name says, is to rotate syslog's files. Following the comments in it, I modified it to rotate all the files in /var/log (it's easy, here are the instructions: # sysklogd Cron script to rotate system log files daily. # # If you want to rotate other logfiles daily, edit # this script. An easy way is to add them manually # or to add -a to syslogd-listfiles and add some grep # stuff # # Written by Martin Schulze <[EMAIL PROTECTED]>. ) This does the job for me, without the need to use the "real" logrotate app. -- gentoo-user@gentoo.org mailing list