From dcbe830ef302a5dad7f7dee22b440d7bc50889d3 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Fri, 20 Jul 2018 10:15:59 +0200 Subject: [PATCH] Don't specify a logging level on the console handler This allows each logger to log at whichever level they want and always show up in the console log (regardless of their level). Otherwise, we can log 'debug' on pagure, only the level specified in the handler will show up. Signed-off-by: Pierre-Yves Chibon --- roles/distgit/pagure/templates/pagure.cfg | 1 - roles/pagure/frontend/templates/pagure.cfg | 1 - 2 files changed, 2 deletions(-) diff --git a/roles/distgit/pagure/templates/pagure.cfg b/roles/distgit/pagure/templates/pagure.cfg index d8152e1c22..661a842d1b 100644 --- a/roles/distgit/pagure/templates/pagure.cfg +++ b/roles/distgit/pagure/templates/pagure.cfg @@ -200,7 +200,6 @@ LOGGING = { }, 'handlers': { 'console': { - 'level': 'INFO', 'formatter': 'standard', 'class': 'logging.StreamHandler', 'stream': 'ext://sys.stdout', diff --git a/roles/pagure/frontend/templates/pagure.cfg b/roles/pagure/frontend/templates/pagure.cfg index b760827a9e..11a9e00078 100644 --- a/roles/pagure/frontend/templates/pagure.cfg +++ b/roles/pagure/frontend/templates/pagure.cfg @@ -242,7 +242,6 @@ LOGGING = { }, 'handlers': { 'console': { - 'level': 'INFO', 'formatter': 'standard', 'class': 'logging.StreamHandler', 'stream': 'ext://sys.stdout',