syslog problems, need help
Andy Farkas
andyf at speednet.com.au
Sat May 3 16:26:00 PDT 2003
On Sat, 3 May 2003, Antoine Jacoutot wrote:
> I am really going to need some help here.
> I read all the documentation about syslog I have, but I still can't figure out
> how to make isc-dhcpd log to /var/log/dhcpd.log.
> There's a recent article on onlamp about setting up a dhcpd server, I followed
> all the steps for configuring logging, but it does not work.
> Here is what I have in my /usr/local/etc/dhcpd.conf:
>
> log-facility local7;
>
> And in my /etc/syslog.conf:
>
> local7.* /var/log/dhcpd.log
>
> I, of course, created /var/log/dhcpd.log, restarted everything, but it does
> not log anything, nor in /var/log/messages or /var/log/dhcpd.log.
>
> Do you have any idea ?
>
> Thanks.
>
> Antoine
>
Where abouts in /etc/syslog.conf did you put the 'local7.*' line? Make
sure it is above the '!startslip' and '!ppp' lines or any other '!prog'
lines.
Read carefully the bit in 'man syslog.conf' about blocks of lines...
--
:{ andyf at speednet.com.au
Andy Farkas
System Administrator
Speednet Communications
http://www.speednet.com.au/
More information about the freebsd-questions
mailing list