On Sun, Nov 23, 1997 at 11:22:21PM -0700, Bob Nielsen wrote: > cron.daily runs a script sysklogd to rotate the logs in /var/log with > savelog. I have added some logs to the defaults, but one of them doesn't > get rotated. Is there a way to reconfigure what happens with this script: > > #! /bin/sh > > # sysklogd Cron script to rotate system log files daily. > # > # If you want to rotate logfiles daily, edit > # this script. > # > # Written by Martin Schulze <[EMAIL PROTECTED]>. > # $Id: cron.daily,v 1.1 1997/06/10 21:07:41 joey Exp $
Oups, that's me... > cd /var/log > for LOG in syslog <--------- Add your logfile here and it gets rotated automatically. The next release of syslog will have a generic mechanism for logfile rotation. Regards Joey -- / Martin Schulze * [EMAIL PROTECTED] * 26129 Oldenburg / / Beware of bugs in the above code; I have only / / proved it correct, not tried it. -- Donald E. Knuth / -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .