DHCP messages bombarding console

John Tabasz (jtabasz) jtabasz at cisco.com
Wed Jun 24 17:29:05 UTC 2009


I edit the /etc/syslog.conf file to add these lines:

local3.err                                      -/var/adm/dhcp.log
local3.info                                     -/var/adm/dhcp.log
local3.alert                                    -/var/adm/dhcp.log      
local3.warning                                  -/var/adm/dhcp.log      
local3.none                                     -/var/adm/messages

Make sure the dhcp.log file is there. The dhcpd.conf file contains this
line:

log-facility local3;

I restart the dhcpd as well as the syslogd processes. Still I get these
no free leases messages every few seconds into the /var/adm/messages
file. 

What is wrong here?

John

-----Original Message-----
From: dhcp-users-bounces at lists.isc.org
[mailto:dhcp-users-bounces at lists.isc.org] On Behalf Of Brad Dameron
Sent: Tuesday, June 23, 2009 2:24 PM
To: Users of ISC DHCP
Subject: RE: DHCP messages bombarding console


>-----Original Message-----
>From: dhcp-users-bounces at lists.isc.org
[mailto:dhcp-users-bounces at lists.isc.org] On Behalf Of >Keith
>Sent: Tuesday, June 23, 2009 1:06 PM
>To: Users of ISC DHCP
>Subject: RE: DHCP messages bombarding console
>
>On Tue, 23 Jun 2009, John Tabasz (jtabasz) wrote:
>
>|->If I include log-facility local3; in my dhcpd.conf file, that is
what 
>|->defines local3 as the facility to refer to in syslog.conf right?
>
>I use in dhcpd.conf:
>
>log-facility local7;
>
>and in syslog.conf:
>
>local7.*       /var/log/dhcpd.log
>
>This is under FreeBSD.

Also use a - in front of the path like so:

-/var/log/dhcpd.log

This tells syslog to change and write 20 lines at a time. It will
increase performance and lower your drive activity dramatically. Also
good to use with apache logs, etc. With syslog-ng set sync(0) to
sync(20).

Brad
_______________________________________________
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