From 824949f300889479938414279085f5ccba4c477a Mon Sep 17 00:00:00 2001 From: euxane Date: Wed, 29 May 2024 22:11:05 +0200 Subject: [PATCH] nixos/stalwart-mail: migrate logging config The logging configuration keys have changed, which caused this config to be ignored. --- nixos/modules/services/mail/stalwart-mail.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/mail/stalwart-mail.nix b/nixos/modules/services/mail/stalwart-mail.nix index 68606698e59f..eed642038237 100644 --- a/nixos/modules/services/mail/stalwart-mail.nix +++ b/nixos/modules/services/mail/stalwart-mail.nix @@ -30,8 +30,12 @@ in { # Default config: all local services.stalwart-mail.settings = { - global.tracing.method = mkDefault "stdout"; - global.tracing.level = mkDefault "info"; + tracer.stdout = { + type = mkDefault "stdout"; + level = mkDefault "info"; + ansi = mkDefault false; # no colour markers to journald + enable = mkDefault true; + }; queue.path = mkDefault "${dataDir}/queue"; report.path = mkDefault "${dataDir}/reports"; store.db.type = mkDefault "sqlite";