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
+7 -6
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 =