From owner-freebsd-stable Sun Nov 12 5:55:35 2000 Delivered-To: freebsd-stable@freebsd.org Received: from shell.futuresouth.com (shell.futuresouth.com [198.78.58.28]) by hub.freebsd.org (Postfix) with ESMTP id 29A0D37B479 for ; Sun, 12 Nov 2000 05:55:33 -0800 (PST) Received: (from tim@localhost) by shell.futuresouth.com (8.9.3/8.9.3) id HAA07378 for freebsd-stable@FreeBSD.ORG; Sun, 12 Nov 2000 07:55:32 -0600 (CST) Date: Sun, 12 Nov 2000 07:55:32 -0600 From: Tim Tsai To: freebsd-stable@FreeBSD.ORG Subject: periodic and 310.accounting Message-ID: <20001112075532.A7158@futuresouth.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message