isc-dhcpd - not logging client transactions
Randall C Grimshaw
rgrimsha at syr.edu
Wed Jun 6 12:59:12 UTC 2012
the classic (default) syslog destination is local3.*
you might try that.
Randall Grimshaw rgrimsha at syr.edu
________________________________________
From: dhcp-users-bounces+rgrimsha=syr.edu at lists.isc.org [dhcp-users-bounces+rgrimsha=syr.edu at lists.isc.org] on behalf of Ewald Jenisch [a at jenisch.at]
Sent: Wednesday, June 06, 2012 5:08 AM
To: dhcp-users at lists.isc.org
Subject: isc-dhcpd - not logging client transactions
Hi,
I'm having a hard time getting my newly installed isc-dhcp42-server to
log its transactions.
Platform: FreeBSD9, AMD64 - installation was done directly from the
ports, i.e. sources.
The daemon runs, hands out IP-addresses however logging doesn't seem
to work.
Here's what I've got in the respective config-files:
/etc/rc.conf:
# dhcpd
dhcpd_enable="YES"
dhcpd_conf="/usr/local/etc/dhcpd.conf"
dhcpd_ifaces="em0"
dhcpd_withumask="022"
dhcpd_chuser_enable="YES"
dhcpd_withuser="dhcpd"
dhcpd_withgroup="dhcpd"
dhcpd_chroot_enable="YES"
dhcpd_devfs_enable="YES"
dhcpd_rootdir="/var/db/dhcpd"
/usr/local/etc/dhcpd.conf:
...
log-facility local7;
/etc/syslog.conf:
local7.* /var/log/dhcpd.log
/var/log/dhcpd.log is "touch"ed, so it exists.
Also restarted syslogd and isc-dhcpd.
Result: dhcpd works (i.e. I see entries in the leases-file
(/var/db/dhcpd/var/db/dhcpd/dhcpd.leases) however nothing is logged to
/var/log/dhcpd.log.
I can rule out any error with syslogd.conf since when I start isc-dhcp
"by hand" (/usr/local/sbin/dhcpd -d) I get an error message - and this
one is definitely logged to /var/log/dhcpd.log.
Neither do I see something dhcpd-related in /var/log/messages or any
other of the "usual places" where logs normally go to.
What I really need though is a log of all the DHCP-transactions,
i.e. DHCP-requests, address assignments etc.
Thanks much in advance for your help,
-ewald
_______________________________________________
dhcp-users mailing list
dhcp-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users
More information about the dhcp-users
mailing list