[Dnsmasq-discuss] send logs to a remote server
simon at thekelleys.org.uk
Wed Aug 3 23:12:03 BST 2016
-----BEGIN PGP SIGNED MESSAGE-----
On 03/08/16 19:44, Rick Jones wrote:
> On 08/03/2016 11:00 AM, John Pearson wrote:
>> I'd like to send the logs to a remote server to process. I'm
>> currently leaning towards using rsyslog for that.
>> I looked into --log-facility sending to remote server but doesn't
>> seem to be supported.
>> Is there a better way than rsyslog? Maybe something built into
>> dnsmasq that I am missing?
> Just a paranoid drift, because I've been bitten by it a few times
> in the past - make certain that if you do go the rsyslog path, you
> ensure it is setup to never block the local logging client(s) no
> matter what happens with the remote logging destination.
> Otherwise, when something goes awry with the remote logging
> destination the backpressure will affect the logging clients (eg
> dnsmasq in this case though the times I've been bitten were with
> other things).
This bit me long ago, and the result was the --log-async option, which
makes dnsmasq immune to backpressure from the logging system, and,
more importantly, avoids deadlocks when the log daemon makes DNS
queries through the local dnsmasq instance.
> rick jones
> _______________________________________________ Dnsmasq-discuss
> mailing list Dnsmasq-discuss at lists.thekelleys.org.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the Dnsmasq-discuss