From owner-freebsd-stable Mon Mar 11 13:54:12 2002 Delivered-To: freebsd-stable@freebsd.org Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by hub.freebsd.org (Postfix) with ESMTP id CBF4037B400 for ; Mon, 11 Mar 2002 13:54:06 -0800 (PST) Received: from randy by rip.psg.com with local (Exim 4.00) id 16kXk6-000Crm-00; Mon, 11 Mar 2002 13:54:06 -0800 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Kevin Oberman" Cc: FreeBSD Stable Subject: Re: parameterize named log References: <20020311172055.2F0665D07@ptavv.es.net> Message-Id: Date: Mon, 11 Mar 2002 13:54:06 -0800 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG as i don't run a cvs tree here, excuse the brutality randy --- # diff -c /etc/periodic/daily/470.status-named~ /etc/periodic/daily/470.status-named *** /etc/periodic/daily/470.status-named~ Tue Jul 31 19:32:54 2001 --- /etc/periodic/daily/470.status-named Mon Mar 11 13:49:11 2002 *************** *** 12,21 **** fi catmsgs() { ! find /var/log -name 'messages.*' -mtime -2 | sort -t. -r -n +1 -2 | xargs zcat -f ! [ -f /var/log/messages ] && cat /var/log/messages } case "$daily_status_named_enable" in --- 12,21 ---- fi catmsgs() { ! find /var/log -name '$daily_status_named_log.*' -mtime -2 | sort -t. -r -n +1 -2 | xargs zcat -f ! [ -f /var/log/$daily_status_named_log ] && cat /var/log/$daily_status_named_log } case "$daily_status_named_enable" in # diff -c /etc/defaults/periodic.conf~ /etc/defaults/periodic.conf *** /etc/defaults/periodic.conf~ Tue Jul 31 19:32:44 2001 --- /etc/defaults/periodic.conf Mon Mar 11 13:48:59 2002 *************** *** 123,128 **** --- 123,129 ---- # 470.status-named daily_status_named_enable="YES" daily_status_named_usedns="YES" # DNS lookups are ok + daily_status_named_log="messages" # 500.queuerun daily_queuerun_enable="YES" # Run mail queue To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message