mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
Merge: nixos/matrix-synapse: Fix merging log configuration (#409839)
This commit is contained in:
commit
cf0370b028
1 changed files with 7 additions and 6 deletions
|
@ -124,12 +124,13 @@ let
|
||||||
genLogConfigFile =
|
genLogConfigFile =
|
||||||
logName:
|
logName:
|
||||||
format.generate "synapse-log-${logName}.yaml" (
|
format.generate "synapse-log-${logName}.yaml" (
|
||||||
cfg.log
|
attrsets.recursiveUpdate cfg.log (
|
||||||
// optionalAttrs (cfg.log ? handlers.journal) {
|
optionalAttrs (cfg.log ? handlers.journal) {
|
||||||
handlers.journal = cfg.log.handlers.journal // {
|
handlers.journal = cfg.log.handlers.journal // {
|
||||||
SYSLOG_IDENTIFIER = logName;
|
SYSLOG_IDENTIFIER = logName;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
toIntBase8 =
|
toIntBase8 =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue