mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03: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