addding "CID" and leased address to logging
glenn.satchell at uniq.com.au
Fri Aug 24 11:15:20 UTC 2012
log (priority, data-expr)
Logging statements may be used to send information to the
standard logging channels. A logging statement includes
an optional priority (fatal, error, info, or debug), and a
Logging statements take only a single data expression
argument, so if you want to output multiple data values,
you will need to use the concat operator to concatenate
You need to ensure that anything concatenated is not a null string,
otherwise the whole concatenated string is null.
The logging destination is done through the log-facility command (see
dhcpd.conf(5) and subsequently syslog.conf.
On Fri, August 24, 2012 6:35 pm, raz khan wrote:
> Many thanks Niall.I will try the suggested method. However I would like to
> find out if there is any documentation about using "info concat(.." in the
> dhcpd.conf file? I have checked various resources, but nothing mentioned.
> Can anyone point me to the right source?
>> Subject: Re: addding "CID" and leased address to logging
>> From: Niall.oReilly at ucd.ie
>> Date: Wed, 22 Aug 2012 17:41:49 +0100
>> To: dhcp-users at lists.isc.org
>> On 22 Aug 2012, at 17:31, raz khan wrote:
>> > This information is passed on to the lease file but not to the default
>> log file.
>> The kind of thing you seem to need is discussed in the archives. Try
>> Niall O'Reilly
>> dhcp-users mailing list
>> dhcp-users at lists.isc.org
> dhcp-users mailing list
> dhcp-users at lists.isc.org
More information about the dhcp-users