From 175eeaff4d9f90e958265c13cf0293aae80a5b1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Thu, 22 Feb 2024 15:50:13 +0100 Subject: [PATCH] Bodhi: activate access logs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- roles/bodhi2/base/templates/logging.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/roles/bodhi2/base/templates/logging.yaml b/roles/bodhi2/base/templates/logging.yaml index 34a6877bcf..6576572d8b 100644 --- a/roles/bodhi2/base/templates/logging.yaml +++ b/roles/bodhi2/base/templates/logging.yaml @@ -45,6 +45,13 @@ loggers: level: ERROR {% else %} level: INFO +{% endif %} + handlers: [console, smtp] + gunicorn: +{% if env == "production" %} + level: INFO +{% else %} + level: DEBUG {% endif %} handlers: [console, smtp] twisted: