From owner-freebsd-questions@FreeBSD.ORG Wed May 3 22:51:11 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFBAC16A401 for ; Wed, 3 May 2006 22:51:11 +0000 (UTC) (envelope-from duane@greenmeadow.ca) Received: from smtpout.eastlink.ca (smtpout.eastlink.ca [24.222.0.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F7B143D45 for ; Wed, 3 May 2006 22:51:10 +0000 (GMT) (envelope-from duane@greenmeadow.ca) Received: from ip04.eastlink.ca ([24.222.10.20]) by mta01.eastlink.ca (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTP id <0IYP00GJQOS96U61@mta01.eastlink.ca> for freebsd-questions@freebsd.org; Wed, 03 May 2006 19:50:33 -0300 (ADT) Received: from blk-224-199-230.eastlink.ca (HELO [192.168.0.103]) ([24.224.199.230]) by ip04.eastlink.ca with ESMTP; Wed, 03 May 2006 19:51:10 -0300 Date: Wed, 03 May 2006 19:50:19 -0300 From: Duane Whitty In-reply-to: To: fbsd@a1poweruser.com Message-id: <445933AB.1010506@greenmeadow.ca> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAQAAA+k= References: User-Agent: Thunderbird 1.5 (X11/20060309) Cc: "freebsd-questions@FreeBSD. ORG" Subject: Re: dhclient-exit-hooks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 May 2006 22:51:12 -0000 fbsd wrote: > When this script runs the logger statements do not create any > message in the targeted log files. > IF I execute the same logger statements from the command > line they work as expected. Hi, Forgive my ignorance if it turns out I'm totally off track here but do you need a line in /etc/syslog.conf such as: !name-of-your-script *.* /var/log/dhcpd.log ^^^ or whatever level of logging you want I couldn't get named to log so to /etc/syslog.conf I added !named *.* /var/log/named.log and manually created /var/log/named.log to have messages of all levels logged. Just a shot in the dark... Best Regards, Duane Whitty -- duane@greenmeadow.ca