<div dir="ltr"><br><br><div class="gmail_quote">On Fri, Jul 25, 2008 at 8:05 AM, Carlos Carvalho <span dir="ltr"><<a href="mailto:carlos@fisica.ufpr.br">carlos@fisica.ufpr.br</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<a href="mailto:richardvoigt@gmail.com">richardvoigt@gmail.com</a> (<a href="mailto:richardvoigt@gmail.com">richardvoigt@gmail.com</a>) wrote on 25 July 2008 03:11:<br>
<div class="Ih2E3d"> >Evidently, it is turning logging *on* that presents the problem, because you<br>
>can get no information about the state of the cache before dnsmasq was<br>
>reloaded to enable logging.<br>
<br>
</div>He should leave logging on all the time then, it's cheap enough.<br>
<br>
I'm against a signal for logging only. What would be interesting is a<br>
signal for reloading the config. It'd reload only what is possible of<br>
course but it can be done for most settings.</blockquote><div><br>I think a better solution would be to split the functionality of the log-queries option:<br><br><dl compact><dt><b>-q, --log-queries</b>
</dt><dd>
Log the results of DNS queries handled by dnsmasq. Enable a full cache dump on receipt of SIGUSR1.
</dd><dt><br></dt></dl>Clearly this controls two separate functions. It would be good to have a flag to enable full cache dump on SIGUSR1 without also logging every query. For that matter, a numeric option that causes the next N queries to be logged in detail following each SIGUSR1.<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<div><div></div><div class="Wj3C7c"><br>
_______________________________________________<br>
Dnsmasq-discuss mailing list<br>
<a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
<a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" target="_blank">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a><br>
</div></div></blockquote></div><br></div>