src.nth.io/

summaryrefslogtreecommitdiff
path: root/pleroma/otp/templates/config.exs.j2
diff options
context:
space:
mode:
Diffstat (limited to 'pleroma/otp/templates/config.exs.j2')
-rw-r--r--pleroma/otp/templates/config.exs.j28
1 files changed, 8 insertions, 0 deletions
diff --git a/pleroma/otp/templates/config.exs.j2 b/pleroma/otp/templates/config.exs.j2
index 6f09ec8..f726b2a 100644
--- a/pleroma/otp/templates/config.exs.j2
+++ b/pleroma/otp/templates/config.exs.j2
@@ -71,3 +71,11 @@ config :logger,
config :logger, :ex_syslogger,
level: :critical
+
+# The above only sets the ex_syslogger backend's level. Logger's separate
+# default console handler (stdout, captured by journald) has no level set
+# and prints everything: info-level telemetry attach notices, every SQL
+# debug query, etc. This caps it at warnings and errors without losing the
+# crash/error output journalctl is actually useful for.
+config :logger,
+ level: :warning

☐