dhcp relay - stateless - debug
Glenn.Satchell at uniq.com.au
Fri Jul 21 00:33:51 UTC 2006
>Date: Fri, 21 Jul 2006 10:21:25 +1000 (EST)
>From: Glenn Satchell <Glenn.Satchell at uniq.com.au>
>Subject: Re: dhcp relay - stateless - debug
>To: dhcp-users at isc.org
>>Date: Thu, 20 Jul 2006 12:05:16 -0700 (PDT)
>>From: foomail123 <foomail123 at yahoo.com>
>>Subject: Re: dhcp relay - stateless - debug
>>To: dhcp-users at isc.org
>>Thank you for information.
>>Question on DHCP debugging,
>>I see syslog interface is being used.
>>Is this right ? Is this only way ?
>>I was looking for an option for debug logs to
>>be sent to stdout and/or file.
>syslog is the default behaviour and is probably right for most sites in
>normal operation. For debugging you can specify the -d flag and debug
>goes to standard error. To redirect this use
> dhcpd -d 2> file
>man dhcpd (and search for debug) :
> To have dhcpd log to the standard error descriptor, specify
> the -d flag.
And if you want a *lot* more debugging information, then have a look at
includes/site.h - there are lots of macros that can be defined there to
allow dhcpd to print specific types of debugging information. This
requires that you rebuild from source though.
More information about the dhcp-users