feat: fix logging config on dns

This commit is contained in:
Xavier Morel
2025-11-15 20:15:55 +01:00
parent fccbd8916c
commit eff961ff24
2 changed files with 3 additions and 2 deletions

View File

@@ -26,7 +26,8 @@ in
stage.timestamp { stage.timestamp {
source = "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 { stage.labels {

View File

@@ -7,7 +7,7 @@ let
mask_cidr = tools.mask_cidr; # build_ip_cidr 0 config.globals.cidr; mask_cidr = tools.mask_cidr; # build_ip_cidr 0 config.globals.cidr;
in in
{ {
environment.etc."alloy/logs-adguardhome.alloy".text = environment.etc."alloy/logs-unbound.alloy".text =
(import ./alloy/default-journal-logger.alloy.nix { (import ./alloy/default-journal-logger.alloy.nix {
inherit tools; inherit tools;
container = "dns"; container = "dns";