Debug messages in ISC code ???
Peter Rathlev
peter at rathlev.dk
Mon Mar 26 11:40:54 UTC 2012
On Mon, 2012-03-26 at 11:06 +0000, ameen.shajahan at wipro.com wrote:
> In ISC DHCP Code , how to print the debug messages in a separate file.
>
> Is there any support in ISC code.
> I would like to know how to print the debug messages using ISC code.
It's all standard syslog. Example:
# In dhcpd.conf:
log-facility local1;
# In syslog.conf:
local1.info /var/log/dhcp.log
local1.=debug /var/log/dhcp-debug.log
In the code you would probably use log_debug() as defined in
"omapip/errwarn.c".
--
Peter
More information about the dhcp-users
mailing list