Logging date of DHCP transactions ?
Mike.
the.lists at mgm51.com
Fri May 23 16:04:37 UTC 2014
On 5/23/2014 at 4:20 PM BONNET, Frank wrote:
|hello
|
|I'm running isc-dhcpd on a FreeBSD 10 machine it works well
|but I've been requested to log dates of all DHCP transactions
|in /var/log/dhcpd.log I've googled a bit but did not find useful
|informations ...
|
|Any info welcome , thank you
=============
According to the man page, dhcpd(8),
http://www.freebsd.org/cgi/man.cgi?query=dhcpd&apropos=0&sektion=0&man
path=FreeBSD+9.2-RELEASE+and+Ports&arch=default&format=html
"...Normally, dhcpd will log all output using the syslog(3) function
with the log facility set to LOG_DAEMON.
..."
You can direct that output to a specific file by adding something
like:
daemon.info /var/log/daemon
to your /etc/syslog.conf file, and then touching /var/log/daemon to
assure the file exists. You may also want to add that log to the
/etc/newsyslog.conf file so it gets rotated.
Hope this helps.
More information about the dhcp-users
mailing list