Unverified Commit 15705830 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #321061 from SomeoneSerge/prosody-logs

nixos/prosody: provide an (internal) escape hatch for overriding the …
parents d1892ee6 12c6d79e
Loading
Loading
Loading
Loading
+12 −1
Original line number Diff line number Diff line
@@ -716,6 +716,17 @@ in
        description = "Additional prosody configuration";
      };

      log = mkOption {
        type = types.lines;
        default = ''"*syslog"'';
        description = "Logging configuration. See [](https://prosody.im/doc/logging) for more details";
        example = ''
          {
            { min = "warn"; to = "*syslog"; };
          }
        '';
      };

    };
  };

@@ -764,7 +775,7 @@ in

      pidfile = "/run/prosody/prosody.pid"

      log = "*syslog"
      log = ${cfg.log}

      data_path = "${cfg.dataDir}"
      plugin_paths = {