mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
Merge pull request #321061 from SomeoneSerge/prosody-logs
nixos/prosody: provide an (internal) escape hatch for overriding the …
This commit is contained in:
commit
15705830ce
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user