[Dnsmasq-discuss] send logs to a remote server

John Pearson johnpearson555 at gmail.com
Thu Aug 4 00:12:30 BST 2016


Thanks. I'm going to go ahead and use rsyslog and also look into  --log-async
option.

On Wed, Aug 3, 2016 at 3:12 PM, Simon Kelley <simon at thekelleys.org.uk>
wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
>
>
> 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.
>
>
> Cheers,
>
> Simon.
>
>
> > rick jones
> >
> >
> > _______________________________________________ Dnsmasq-discuss
> > mailing list Dnsmasq-discuss at lists.thekelleys.org.uk
> > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> >
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.22 (GNU/Linux)
>
> iQIcBAEBCAAGBQJXomwzAAoJEBXN2mrhkTWi0YAP/AkVPQvsh1xoMf2DaUBurXMI
> PlnQQf5bvg6+yPjGc0A235IAqU+6Du10xYk+qEXcEM8zQs+MULle34X1SddCdrUQ
> WzDfxC9db4/F/vMkH8wr06AMrEkhb4rSvNvLLck/AOUJUce0+9WMdBHMXC3WJdyk
> A1/uSI59tqSoq5WD3jFvA2fAqGaPbPJmcx94r4oYmrIOLa8+JSyXBG39vw+fEcyg
> Sj9fqEmpj7lImvpDyWaLqeyOC3UwVUlZX8AdDokS+qjY68fjqzVvcj8YWtZfWQaC
> s78MZgXqqJLn0CRktorQUa9xLv7/oDxiBSwqMGbOdZjrisozMQG5Toimxrz5A/zo
> +ws+pl4xYrgSOcTHaA5HpGQGjPnu0bcjRtcolOq1J888pBsTdTSFGlZcb301ref5
> wRjj2K8zoGDyFQrg+nKXtQrGTkJ3iXT8fY/SaiSAX/2BjMAfTwC+8AOAR4ia9EL8
> 6BA3ef225lpEd4siiLDRTxvUay5Sjni4XCnD63C5NsRGQVJ45TdWMm5m3olEIxdK
> WDwhgy8IFh4Vc+M1IiD9/welljmW/b35jboGnOFlpt0NyJwTP5uFDQoVHp5dkQXX
> Q8yMCStIF+5wCrJhgo7tGin6XulE+4NVW83DmunrlROAQw4lS6YPQZcdtmhIg9rn
> 7ydtjiYt7xVZoz5XJiLS
> =zmua
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20160803/67acfdee/attachment.html>


More information about the Dnsmasq-discuss mailing list