DHCP messages bombarding console

Brad Dameron Brad.Dameron at clearwire.com
Wed Jun 24 17:32:24 UTC 2009


Well local3 is not a good one to use. Use local6. And change it like so:
 
 
local6.*                     -/var/adm/dhcp.log
 
then look for this line:
 
*.info;mail.none;news.none;authpriv.none;cron.none;         /var/adm/messages
 
and change to:
 
*.info;mail.none;news.none;authpriv.none;cron.none;local6.none;         /var/adm/messages
 
then at the top of your dhcpd.conf file enter this:
 
log-facility local6;

 
Brad

________________________________

From: dhcp-users-bounces at lists.isc.org on behalf of John Tabasz (jtabasz)
Sent: Wed 6/24/2009 10:29 AM
To: Users of ISC DHCP
Subject: RE: DHCP messages bombarding console



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
_______________________________________________
dhcp-users mailing list
dhcp-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20090624/78d62f0b/attachment.html>


More information about the dhcp-users mailing list