How can I change the region/locale configuration of the DNS debug logs?
I'm noticing some extra characters which break do not play nice with a parser I use for analysing the logs. I'd rather not change the parser to support these characters but instead change the log format itself.
Currently the logs appear like this:
DNS Server log file creation at 9.3.2021 ã. 11:01:47
Log file wrap at 9.3.2021 ã. 11:01:47
...
9.3.2021 ã. 11:01:48 3870 PACKET redacted UDP Rcv redacted 7305 Q [0001 D NOERROR] A redacted
Notice the ã.
in the date/time stamp as well as the date format itself (dot delimited instead of slash / ).
On other DNS servers the format is the US date-time format like this:
DNS Server log file creation at 3/17/2021 11:42:21 AM
...
3/17/2021 11:44:15 AM 0C34 PACKET redacted UDP Snd redacted 686f R Q [8385 A DR NXDOMAIN] SRV redacted
Changing the OS region locality settings does not seem to change this for some reason. Any ideas how this is applied?