RE: No syslog entries on Sunday's & Monday's

From: Fabio Giannotti (fabiog_at_venmar.com)
Date: 11/17/03


Date: Mon, 17 Nov 2003 20:42:40 GMT
To: "Scomsc (E-mail)" <scomsc@xenitec.on.ca>


> -----Original Message-----
> From: listmaster@xenitec.on.ca [mailto:listmaster@xenitec.on.ca]On
> Behalf Of Gary Quiring
> Sent: Monday, November 17, 2003 2:06 PM
> To: distribution@xenitec.on.ca
> Subject: No syslog entries on Sunday's & Monday's
>
>
> I have a SCO 5.0.6 server. I have a script that moves the
> syslog daily. For
> some reason there are never any entries in there on Sunday
> and Monday. I am not
> sure if the script is causing the problem. Right now
> (Monday) if I review the
> /var/adm/syslog it is zero bytes. This is not right as my
> FTP server logs all
> details to syslog.
>
> script:
> mv /var/adm/syslog /u/logs/ftpxfers/syslog.`date +\%m\%d`
> >/var/adm/syslog
>
> root cron entry:
> 59 23 * * * /u/bin/movesyslog >/dev/null 2>&1
>
> /etc/syslog.conf:
> *.debug /usr/adm/syslog
>
Not sure, but I think you need to restart (kill -1) syslog to get it writing
to the "new" file even though it's the same name as the "old" file.

Fabio