Date: Sun, 4 May 2003 09:25:54 +1000 (EST) From: Andy Farkas <andyf@speednet.com.au> To: Antoine Jacoutot <ajacoutot@lphp.org> Cc: freebsd-questions@freebsd.org Subject: Re: syslog problems, need help Message-ID: <20030504092104.R2374-100000@hewey.af.speednet.com.au> In-Reply-To: <200305031030.08995.ajacoutot@lphp.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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@speednet.com.au Andy Farkas System Administrator Speednet Communications http://www.speednet.com.au/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030504092104.R2374-100000>