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
This commit is contained in:
Takashi Kajinami 2020-05-20 21:49:41 +09:00
parent 434b21d0ec
commit 83056cf05e
1 changed files with 1 additions and 1 deletions

View File

@ -713,7 +713,7 @@ LOGGING = {
},
'console': {
# Set the level to "DEBUG" for verbose output logging.
'level': 'INFO',
'level': '<%= @log_level %>',
'class': 'logging.StreamHandler',
},
'file': {