<HTML dir=ltr><HEAD><TITLE>RE: DHCP messages bombarding console</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.16850" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText35763 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Well local3 is not a good one to use. Use local6. And change it like so:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>local6.*                     -/var/adm/dhcp.log</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>then look for this line:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>*.info;mail.none;news.none;authpriv.none;cron.none;         /var/adm/messages</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>and change to:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>*.info;mail.none;news.none;authpriv.none;cron.none;local6.none;         /var/adm/messages</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>then at the top of your dhcpd.conf file enter this:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>log-facility local6;<BR></FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Brad</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> dhcp-users-bounces@lists.isc.org on behalf of John Tabasz (jtabasz)<BR><B>Sent:</B> Wed 6/24/2009 10:29 AM<BR><B>To:</B> Users of ISC DHCP<BR><B>Subject:</B> RE: DHCP messages bombarding console<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>I edit the /etc/syslog.conf file to add these lines:<BR><BR>local3.err                                      -/var/adm/dhcp.log<BR>local3.info                                     -/var/adm/dhcp.log<BR>local3.alert                                    -/var/adm/dhcp.log     <BR>local3.warning                                  -/var/adm/dhcp.log     <BR>local3.none                                     -/var/adm/messages<BR><BR>Make sure the dhcp.log file is there. The dhcpd.conf file contains this<BR>line:<BR><BR>log-facility local3;<BR><BR>I restart the dhcpd as well as the syslogd processes. Still I get these<BR>no free leases messages every few seconds into the /var/adm/messages<BR>file.<BR><BR>What is wrong here?<BR><BR>John<BR><BR>-----Original Message-----<BR>From: dhcp-users-bounces@lists.isc.org<BR>[<A href="mailto:dhcp-users-bounces@lists.isc.org">mailto:dhcp-users-bounces@lists.isc.org</A>] On Behalf Of Brad Dameron<BR>Sent: Tuesday, June 23, 2009 2:24 PM<BR>To: Users of ISC DHCP<BR>Subject: RE: DHCP messages bombarding console<BR><BR><BR>>-----Original Message-----<BR>>From: dhcp-users-bounces@lists.isc.org<BR>[<A href="mailto:dhcp-users-bounces@lists.isc.org">mailto:dhcp-users-bounces@lists.isc.org</A>] On Behalf Of >Keith<BR>>Sent: Tuesday, June 23, 2009 1:06 PM<BR>>To: Users of ISC DHCP<BR>>Subject: RE: DHCP messages bombarding console<BR>><BR>>On Tue, 23 Jun 2009, John Tabasz (jtabasz) wrote:<BR>><BR>>|->If I include log-facility local3; in my dhcpd.conf file, that is<BR>what<BR>>|->defines local3 as the facility to refer to in syslog.conf right?<BR>><BR>>I use in dhcpd.conf:<BR>><BR>>log-facility local7;<BR>><BR>>and in syslog.conf:<BR>><BR>>local7.*       /var/log/dhcpd.log<BR>><BR>>This is under FreeBSD.<BR><BR>Also use a - in front of the path like so:<BR><BR>-/var/log/dhcpd.log<BR><BR>This tells syslog to change and write 20 lines at a time. It will<BR>increase performance and lower your drive activity dramatically. Also<BR>good to use with apache logs, etc. With syslog-ng set sync(0) to<BR>sync(20).<BR><BR>Brad<BR>_______________________________________________<BR>dhcp-users mailing list<BR>dhcp-users@lists.isc.org<BR><A href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</A><BR>_______________________________________________<BR>dhcp-users mailing list<BR>dhcp-users@lists.isc.org<BR><A href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</A><BR></FONT></P></DIV></BODY></HTML>