about summary refs log tree commit diff
path: root/nixos/modules/services/home-automation
diff options
context:
space:
mode:
authorRob Pilling <robpilling@gmail.com>2024-02-29 20:52:37 +0000
committerRob Pilling <robpilling@gmail.com>2024-02-29 21:02:26 +0000
commit979ae4c6e511395407299c088f96502801588d88 (patch)
tree18594ef4bcb53aef8ca57b89d9bf910f32bb5d87 /nixos/modules/services/home-automation
parent5250ee5c0b7086edd435843ae6c3ce537ba44fde (diff)
downloadnixlib-979ae4c6e511395407299c088f96502801588d88.tar
nixlib-979ae4c6e511395407299c088f96502801588d88.tar.gz
nixlib-979ae4c6e511395407299c088f96502801588d88.tar.bz2
nixlib-979ae4c6e511395407299c088f96502801588d88.tar.lz
nixlib-979ae4c6e511395407299c088f96502801588d88.tar.xz
nixlib-979ae4c6e511395407299c088f96502801588d88.tar.zst
nixlib-979ae4c6e511395407299c088f96502801588d88.zip
nixos/ebusd: fix logging overrides
This fixes #292131 - currently we specify --log=all:<level>, which
overrides all other log areas. Specifying this first allows the
further log areas to be specified without being replaced.
Diffstat (limited to 'nixos/modules/services/home-automation')
-rw-r--r--nixos/modules/services/home-automation/ebusd.nix2
1 files changed, 1 insertions, 1 deletions
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 [