OK FOUND IT.<br><br>In the source code there is a file called "dhcpd.c"<br><br>If you open that file find a section: <br><br>openlog ("dhcpd-4.1ESV", LOG_NDELAY, db.data[0]);<br>                                /* Log the startup banner into the new<br>
                                   log file. */<br><br>normally there stands only dhcpd. If you write now for example dhpcd-4.1ESV in that file and recompile the daemon it writes this entry in the logfile. When you now have for testing purpose several versions of dhcpd on the server you could log all dhcp in a log file with syslog-ng and see what error is produced from what version.<br>
<br>Of course you have also have to modify the syslog-ng file because it listen to dhcpd not to dhcpd-4.1ESV.<br><br>cheers,<br>Juergen<br><br><br><br><div class="gmail_quote">2011/3/21 Niall O'Reilly <span dir="ltr"><<a href="mailto:Niall.oReilly@ucd.ie">Niall.oReilly@ucd.ie</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im"><br>
On 18 Mar 2011, at 16:54, Simon Hobson wrote:<br>
<br>
> The OP mentioned running multiple versions - but I don't recall whether that was one at a time or simultaneously (probably the former). Even if you only run one version at a time, having to go back through the logs to find the version from the last startup messages could be a pain on a busy system.<br>

<br>
</div>        Not just painful, but also error-prone.<br>
<br>
        Including the PID in log messages (as BIND named does) would support<br>
        reliable and mechanizable matching of the startup message with<br>
        subsequent log entries.<br>
<br>
        Perhaps there's a way to do this already by configuration, but I<br>
        couldn't find it ...<br>
<font color="#888888"><br>
        /Niall<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<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>