From 07bf83690f0c2cb2c0a4910a643c9505efc4aada Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org> Date: Sun, 11 Apr 2021 21:13:10 +0200 Subject: [PATCH] matrix: Only log warnings and worse Now that logs are gathered centrally, the team is complaining about the volume of logs from this server. --- roles/matrix/files/log_config.yaml | 2 +- roles/matrix/templates/irc-bridge.yaml.j2 | 2 +- roles/matrix/templates/mjolnir.yaml.j2 | 2 +- roles/matrix/templates/pantalaimon.conf.j2 | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/matrix/files/log_config.yaml b/roles/matrix/files/log_config.yaml index 35142c553..8b901e833 100644 --- a/roles/matrix/files/log_config.yaml +++ b/roles/matrix/files/log_config.yaml @@ -22,7 +22,7 @@ loggers: propagate: false root: - level: INFO + level: WARNING handlers: [buffer] disable_existing_loggers: false diff --git a/roles/matrix/templates/irc-bridge.yaml.j2 b/roles/matrix/templates/irc-bridge.yaml.j2 index a11bd1b2d..b353288c1 100644 --- a/roles/matrix/templates/irc-bridge.yaml.j2 +++ b/roles/matrix/templates/irc-bridge.yaml.j2 @@ -413,7 +413,7 @@ ircService: # This key CANNOT be hot-reloaded logging: # Level to log on console/logfile. One of error|warn|info|debug - level: "info" + level: "warn" # The file location to log to. This is relative to the project directory. #logfile: "debug.log" # The file location to log errors to. This is relative to the project diff --git a/roles/matrix/templates/mjolnir.yaml.j2 b/roles/matrix/templates/mjolnir.yaml.j2 index af6a0c379..1a261eec0 100644 --- a/roles/matrix/templates/mjolnir.yaml.j2 +++ b/roles/matrix/templates/mjolnir.yaml.j2 @@ -45,7 +45,7 @@ verboseLogging: false # The log level for the logs themselves. One of DEBUG, INFO, WARN, and ERROR. # This should be at INFO or DEBUG in order to get support for Mjolnir problems. -logLevel: "INFO" +logLevel: "WARN" # Set to false to disable synchronizing the ban lists on startup. If true, this # is the same as running !mjolnir sync immediately after startup. diff --git a/roles/matrix/templates/pantalaimon.conf.j2 b/roles/matrix/templates/pantalaimon.conf.j2 index 1065e240a..b097198fd 100644 --- a/roles/matrix/templates/pantalaimon.conf.j2 +++ b/roles/matrix/templates/pantalaimon.conf.j2 @@ -1,5 +1,5 @@ [Default] -LogLevel = Info +LogLevel = Warning Notifications = Off [local-archlinux] -- GitLab