Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Nov 2000 21:52:02 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        Tim Tsai <tim@futuresouth.com>
Cc:        freebsd-stable@FreeBSD.org, brian@Awfulhak.org
Subject:   Re: periodic and 310.accounting 
Message-ID:  <200011122152.eACLq2B04509@hak.lan.Awfulhak.org>
In-Reply-To: Message from Tim Tsai <tim@futuresouth.com>  of "Sun, 12 Nov 2000 07:55:32 CST." <20001112075532.A7158@futuresouth.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
man periodic.conf.

Just set daily_accounting_enable=NO in /etc/periodic.conf.

Alternatively, you could send patches that add a new variable to 
control the number of log files kept :-)  I'll happily commit them.

> I was trying to look for some accounting logs today and noticed the
> periodic mechanism and specifically /etc/periodic/daily/310.accounting.
> It seems to me keeping logs for the past 3 days isn't really enough and
> the much smarter way is the method used by /etc/newsyslog.conf.  Actually,
> I'd prefer to use newsyslog.conf to handle the accounting files as well.
> 
> My question is, how do I accommodate this desire without having to modify
> /etc/daily/310.accounting each time we update the system.  Seems like a
> default override would be useful.  This might apply to other system log
> files as well.  Please note that we are quite capable of changing the
> scripts to suit our needs I just don't want to get out of sync with the
> system.
> 
> PS:  how exactly does periodic get called?  It's not in root's crontab.
> 
> Thanks,
> 
> Tim

-- 
Brian <brian@Awfulhak.org>                        <brian@[uk.]FreeBSD.org>
      <http://www.Awfulhak.org>;                   <brian@[uk.]OpenBSD.org>
Don't _EVER_ lose your sense of humour !




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011122152.eACLq2B04509>