From eff961ff2452f5431d92e595da932d452c1ae350 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Sat, 15 Nov 2025 20:15:55 +0100 Subject: [PATCH] feat: fix logging config on dns --- config/dns-adguardhome.nix | 3 ++- config/dns-unbound.nix | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config/dns-adguardhome.nix b/config/dns-adguardhome.nix index 7440437..59437a4 100644 --- a/config/dns-adguardhome.nix +++ b/config/dns-adguardhome.nix @@ -26,7 +26,8 @@ in stage.timestamp { source = "timestamp" - format = "2006-01-02 15:04:05" + format = "2006/01/02 15:04:05.999999" + location = "${config.globals.default_tz}" } stage.labels { diff --git a/config/dns-unbound.nix b/config/dns-unbound.nix index d026ca5..085f31b 100644 --- a/config/dns-unbound.nix +++ b/config/dns-unbound.nix @@ -7,7 +7,7 @@ let mask_cidr = tools.mask_cidr; # build_ip_cidr 0 config.globals.cidr; in { - environment.etc."alloy/logs-adguardhome.alloy".text = + environment.etc."alloy/logs-unbound.alloy".text = (import ./alloy/default-journal-logger.alloy.nix { inherit tools; container = "dns";