From owner-freebsd-stable Sun Nov 12 13:58:36 2000 Delivered-To: freebsd-stable@freebsd.org Received: from Awfulhak.org (tun.AwfulHak.org [194.242.139.173]) by hub.freebsd.org (Postfix) with ESMTP id 3402537B479 for ; Sun, 12 Nov 2000 13:58:06 -0800 (PST) Received: from hak.lan.Awfulhak.org (root@hak.lan.awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.1/8.11.1) with ESMTP id eACLpTF02475; Sun, 12 Nov 2000 21:51:29 GMT (envelope-from brian@hak.lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.1/8.11.1) with ESMTP id eACLq2B04509; Sun, 12 Nov 2000 21:52:02 GMT (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200011122152.eACLq2B04509@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: Tim Tsai Cc: freebsd-stable@FreeBSD.org, brian@Awfulhak.org Subject: Re: periodic and 310.accounting In-Reply-To: Message from Tim Tsai of "Sun, 12 Nov 2000 07:55:32 CST." <20001112075532.A7158@futuresouth.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 12 Nov 2000 21:52:02 +0000 From: Brian Somers Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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