[Dnsmasq-discuss] configurable 'quiet-dhcp' option

Simon Kelley simon at thekelleys.org.uk
Thu Mar 20 15:51:12 UTC 2014


On 18/03/14 06:44, Shantanu Gadgil wrote:
> Hello,
> 
> Would it be possible make the 'quiet-dhcp' have configurable
> sub-options?
> 
> My scenario is that I have a dnsmasq running in each of my subnets.
> (about 7 different subnets) I have enabled PXE booting for only
> servers under my "jurisdiction" :) using the 'dhcp-host' lines for
> each of their MAC addresses.
> 
> For now I have enabled the "quiet-dhcp" option. This silences the
> "SUCCESS" messages but keeps logging the  "DHCPDISCOVER(eth0) ......
> ignored" messages for all the other servers.

That's inconsistent, DHCPREQUEST, for instance if not logged if the host
is ignored. I've just added a patch to fix this in the development branch.

> 
> Would it be possible to suppress the "ignored" messages to quieten
> down the logging? BUT keep few of the SUCCESS messages?
> 
> Elaborating on that idea, maybe the "quite-dhcp" logging can be
> separated into sections and have a "quiet" option for each:

My feeling is that this is probably over-the-top. There are a lot of
dnsmasq applications where the extra functionality doesn't justify the
code bloat.


Cheers,

Simon.

> 
> Example: to quieten the "request" and "ignore" messages... 
> quiet-dhcp=request,ignore
> 
> This would NOT show the messages of type "DHCPREQUEST" and
> "DHCPDISCOVER(eth0) ignored"
> 
> 
> Regards, Shantanu
> 
> _______________________________________________ Dnsmasq-discuss
> mailing list Dnsmasq-discuss at lists.thekelleys.org.uk 
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 




More information about the Dnsmasq-discuss mailing list