From 43959436a67eba01b2fa48a990028369817cbc1c Mon Sep 17 00:00:00 2001 From: Magic_RB Date: Fri, 28 Jul 2023 20:25:11 +0200 Subject: [PATCH] Attempt to Json logging in synapse working Signed-off-by: Magic_RB --- nixng/containers/matrix/synapse/log_config.nix | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/nixng/containers/matrix/synapse/log_config.nix b/nixng/containers/matrix/synapse/log_config.nix index 7cb9804..6acad0b 100644 --- a/nixng/containers/matrix/synapse/log_config.nix +++ b/nixng/containers/matrix/synapse/log_config.nix @@ -8,6 +8,17 @@ formatter = "structured"; }; - loggers."synapse.storage.SQL".level = "INFO"; - loggers."synapse".level = "INFO"; + loggers."synapse.storage.SQL" = { + level = "INFO"; + }; + loggers."synapse" = { + level = "INFO"; + }; + + root = { + level = "INFO"; + handlers = [ "console" ]; + }; + + disable_existing_loggers = true; }