From 979ae4c6e511395407299c088f96502801588d88 Mon Sep 17 00:00:00 2001 From: Rob Pilling Date: Thu, 29 Feb 2024 20:52:37 +0000 Subject: [PATCH] nixos/ebusd: fix logging overrides This fixes #292131 - currently we specify --log=all:, which overrides all other log areas. Specifying this first allows the further log areas to be specified without being replaced. --- nixos/modules/services/home-automation/ebusd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/home-automation/ebusd.nix b/nixos/modules/services/home-automation/ebusd.nix index 519d116e0e55..f68a8bdb6bfa 100644 --- a/nixos/modules/services/home-automation/ebusd.nix +++ b/nixos/modules/services/home-automation/ebusd.nix @@ -15,12 +15,12 @@ let "--port=${toString cfg.port}" "--configpath=${cfg.configpath}" "--scanconfig=${cfg.scanconfig}" + "--log=all:${cfg.logs.all}" "--log=main:${cfg.logs.main}" "--log=network:${cfg.logs.network}" "--log=bus:${cfg.logs.bus}" "--log=update:${cfg.logs.update}" "--log=other:${cfg.logs.other}" - "--log=all:${cfg.logs.all}" ] ++ lib.optionals cfg.readonly [ "--readonly" ] ++ lib.optionals cfg.mqtt.enable [