[dnsdist] date instead of timestamp with LogAction()

Markus Ehrlicher Markus.Ehrlicher at komsa.de
Wed Nov 4 14:10:13 UTC 2020


Hi Remi,

Thanks for your response. I expect formatting like "03.11.2020 10:02" or something similar. Background: the log is better readable and for searching specific time-ranges, it's easier for me.

thanks and best regards,
Markus 

-----Ursprüngliche Nachricht-----
Von: dnsdist <dnsdist-bounces at mailman.powerdns.com> Im Auftrag von Remi Gacogne via dnsdist
Gesendet: Mittwoch, 4. November 2020 14:44
An: dnsdist at mailman.powerdns.com
Betreff: Re: [dnsdist] date instead of timestamp with LogAction()

Hi Markus,

On 11/3/20 10:02 AM, Markus Ehrlicher via dnsdist wrote:
> is there a possibility to use LogAction() with the current date 
> instead of unix timestamp? I actually using dnsdist 1.5.1. It would be 
> great if this is possible (maybe only in further releases).

That is not possible at the moment. Out of curiosity, what are you trying to do that requires anything else than a timestamp? What kind of formatting would you expect?

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



More information about the dnsdist mailing list