1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-09 09:36:20 +09:00

Merge: nixos/matrix-synapse: Fix merging log configuration (#409839)

This commit is contained in:
Maximilian Bosch 2025-06-07 12:48:22 +02:00 committed by GitHub
commit cf0370b028
Signed by: github
GPG key ID: B5690EEEBB952194

View file

@ -124,12 +124,13 @@ let
genLogConfigFile =
logName:
format.generate "synapse-log-${logName}.yaml" (
cfg.log
// optionalAttrs (cfg.log ? handlers.journal) {
handlers.journal = cfg.log.handlers.journal // {
SYSLOG_IDENTIFIER = logName;
};
}
attrsets.recursiveUpdate cfg.log (
optionalAttrs (cfg.log ? handlers.journal) {
handlers.journal = cfg.log.handlers.journal // {
SYSLOG_IDENTIFIER = logName;
};
}
)
);
toIntBase8 =