1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-11 18:41:33 +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 = 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 =