diff --git a/nixos/config/solitary.nix b/nixos/config/solitary/configuration.nix similarity index 100% rename from nixos/config/solitary.nix rename to nixos/config/solitary/configuration.nix diff --git a/nixos/config/solitary/log_config.yaml b/nixos/config/solitary/log_config.yaml new file mode 100644 index 0000000..275dcf5 --- /dev/null +++ b/nixos/config/solitary/log_config.yaml @@ -0,0 +1,22 @@ +version: 1 +formatters: + journal_fmt: + format: '%(name)s: [%(request)s] %(message)s' + +filters: + context: + (): synapse.util.logcontext.LoggingContextFilter + request: "" + +handlers: + journal: + class: systemd.journal.JournalHandler + formatter: journal_fmt + filters: [context] + SYSLOG_IDENTIFIER: synapse + +root: + level: WARNING + handlers: [journal] + +disable_existing_loggers: False