[dnsdist] include date with LogAction() ?

Remi Gacogne remi.gacogne at powerdns.com
Tue Oct 16 09:23:39 UTC 2018


Hi Jonathan,

On 10/15/18 9:49 PM, Jonathan Reed wrote:
> I have a few a logging statements to domains, ie:
> addAction("example.com <http://example.com>",
> LogAction("/tmp/dnsdist.log", false, true, false))
> 
> There must be a way to include the current timestamp with each log
> entry, out of the box, no?

I'm afraid there isn't, but you could open a new feature request at [1].
As a work-around, perhaps you could let the logging go to your system
logger, which probably does add a timestamp, instead logging to a file?

[1]: https://github.com/PowerDNS/pdns/issues/new

Best regards,
-- 
Remi Gacogne
PowerDNS.COM BV - https://www.powerdns.com/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20181016/078d3baf/attachment.sig>


More information about the dnsdist mailing list