Date: Wed, 3 May 2006 20:37:39 -0400 From: "fbsd" <fbsd@a1poweruser.com> To: "Duane Whitty" <duane@greenmeadow.ca> Cc: "freebsd-questions@FreeBSD. ORG" <freebsd-questions@FreeBSD.ORG> Subject: RE: dhclient-exit-hooks Message-ID: <MIEPLLIBMLEEABPDBIEGAECAHGAA.fbsd@a1poweruser.com> In-Reply-To: <445933AB.1010506@greenmeadow.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
You missed this statement I posted > IF I execute the same logger statements from the command > line they work as expected. That only could happen if the log files were all ready in syslog.conf. Good try. You have good grasp of how logging works. -----Original Message----- From: Duane Whitty [mailto:duane@greenmeadow.ca] Sent: Wednesday, May 03, 2006 6:50 PM To: fbsd@a1poweruser.com Cc: freebsd-questions@FreeBSD. ORG Subject: Re: dhclient-exit-hooks 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?MIEPLLIBMLEEABPDBIEGAECAHGAA.fbsd>