Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: "Mark Hibberts" <mark.hibberts@cp.novartis.com>
Subject: Re: syslog.dated- changing log period?
Date: 1997/12/18	[thread overview]
Message-ID: <01bd0bbb$fd37bbc0$9936f6a8@usgr-hibbema1-4> (raw)
In-Reply-To: 882447391.7821.0.nnrp-03.9e982017@news.demon.co.uk


The following default line in roots crontab is what restarts your logs

30 4 * * * /sbin/kill -HUP `cat /var/run/syslog.pid`

just change the crontab entry to reflect the frequency you wish.
-- 
Mark Hibberts
Novartis Crop Protection,  Greensboro NC
mark.hibberts@cp.novartis.com
------------ All Comments are my own ------------

Andrew Ireland <andy@ascada.demon.co.uk> wrote in article
<882447391.7821.0.nnrp-03.9e982017@news.demon.co.uk>...
> Hi,
> 
> in the /etc/syslog.conf file, entries with the /var/adm/syslog.dated/<log
> file> have new
> log directories and log files created once per day (or when syslogd is
> restarted).
> 
> Is there any way to configure syslog to create a log directory which will
> log  files
> and create new directories say once per month?
> 
> Thanks,
> 
> 
> Andrew Ireland
> 
> 
> 
> 



  parent reply	other threads:[~1997-12-18  5:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-12-18  5:00 syslog.dated- changing log period? Andrew Ireland
1997-12-18  5:00 ` Charles M Richmond
1997-12-18  5:00 ` Charles M Richmond
1997-12-19  5:00   ` Richard Beebe II
1997-12-18  5:00 ` Mark Hibberts [this message]
1997-12-19  5:00 ` Andrew Ireland
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox