[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: savelog



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 <joey@debian.org>.
> #               $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  *  joey@infodrom.north.de  *  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
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: