[Dnsmasq-discuss] bugreport: log-queries must be used with no-daemon
Simon Kelley
simon at thekelleys.org.uk
Wed Nov 17 11:44:11 GMT 2010
任晓磊 wrote:
> I see
> if (option_bool(OPT_DEBUG) || option_bool(OPT_LOG))
> in the 2.65test15 source. Must I use --no-daemon and --log-queries both?
No. --no-daemon OR --log-queries is sufficient. That was true with the
code in 2.55 too, but the use of bitwise operators makes it less
obvious. I suspect the part of your patch which made it work for you was
the changing of the log facilty from LOG_DEBUG to LOG_INFO.
Simon.
More information about the Dnsmasq-discuss
mailing list