The last post seems like the fix but you could try a tag inside the dhcpd.conf file. I have never done it and i don't think it would work but the manipulation of syslog seems to be a best fix. I have looked to see if anyone has tried and came up with an opensuse post:<br>
<br>
<i><b>filter f_dhcpd { facility(daemon) and match('dhcpd:'); };<br>
destination dhcpmessages { file(/var/log/dhcpd.log); };<br>
log { source(src); filter(f_dhcpd); destination(dhcpmessages);};
</b></i><br><br><i><b>You have to the edit the filter f_messages to exclude DHCP messages.
</b></i><br><br>Hope this helped...<br><br>Ed<br><br><div class="gmail_quote">On Thu, Mar 29, 2012 at 9:57 AM, Gerald Vogt <span dir="ltr"><<a href="mailto:vogt@spamcop.net">vogt@spamcop.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 29.03.2012 15:42, <a href="mailto:ameen.shajahan@wipro.com">ameen.shajahan@wipro.com</a> wrote:<br>
> Hi Edward,<br>
><br>
> I have DHCP conf file(dhcpd.conf) in /etc/ path with<br>
> log-facility local7; option enabled.<br>
><br>
> And i have run the dhcp server as mentioned below<br>
><br>
> ./dhcpd -4 –cf /etc/dhcpd.conf –lf /var/db/dhcpd.leases eth0 (with no<br>
> –d option).So it write all the debug messages to /var/log/messages.<br>
><br>
> But i need the debug messages tp print in separate file called<br>
> /var/log/dhcpd.log.<br>
><br>
> So i have done some change in /etc/syslog.conf file with local7.*<br>
> /var/log/dhcpd.log<br>
><br>
> But still dhcp server writing the debug messages to /var/log/messages.<br>
<br>
</div>Did you restart the syslog server after changing syslog.conf?<br>
<br>
And remember, unless you add a "local7.none" to the log line for<br>
/var/log/messages everything will also be logged into /var/log/messages.<br>
<span class="HOEnZb"><font color="#888888"><br>
Gerald<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
</div></div></blockquote></div><br>