Date: Wed, 03 May 2006 19:50:19 -0300 From: Duane Whitty <duane@greenmeadow.ca> To: fbsd@a1poweruser.com Cc: "freebsd-questions@FreeBSD. ORG" <freebsd-questions@FreeBSD.ORG> Subject: Re: dhclient-exit-hooks Message-ID: <445933AB.1010506@greenmeadow.ca> In-Reply-To: <MIEPLLIBMLEEABPDBIEGKEPFHFAA.fbsd@a1poweruser.com> References: <MIEPLLIBMLEEABPDBIEGKEPFHFAA.fbsd@a1poweruser.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?445933AB.1010506>