dhclient-exit-hooks
Duane Whitty
duane at greenmeadow.ca
Wed May 3 22:51:12 UTC 2006
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 at greenmeadow.ca
More information about the freebsd-questions
mailing list