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/
signature.asc
Description: OpenPGP digital signature
_______________________________________________ dnsdist mailing list dnsdist@mailman.powerdns.com https://mailman.powerdns.com/mailman/listinfo/dnsdist