From 83056cf05e6ac06e5c1e3dc907da8f348e8ff82f Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Wed, 20 May 2020 21:49:41 +0900 Subject: [PATCH] Refer log_level parameter in console log handler Previously while log_level parameter is referred for file handler and rsyslog handler, it was not used for console handler. This patch makes sure that the log_level parameter is also effective for console logger, so that the parameter results in the same behavior for all log handlers. Change-Id: I2e8195379f3805a929bc81f99a4f33d934362d5b --- templates/local_settings.py.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/local_settings.py.erb b/templates/local_settings.py.erb index 01a8e5da..0688cd96 100644 --- a/templates/local_settings.py.erb +++ b/templates/local_settings.py.erb @@ -713,7 +713,7 @@ LOGGING = { }, 'console': { # Set the level to "DEBUG" for verbose output logging. - 'level': 'INFO', + 'level': '<%= @log_level %>', 'class': 'logging.StreamHandler', }, 'file': {