Commit 979ae4c6 authored by Rob Pilling's avatar Rob Pilling
Browse files

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.
parent 5250ee5c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 [