1
0
mirror of https://github.com/altlinux/gpupdate.git synced 2025-03-22 02:50:32 +03:00

Avoid printing about setting log level

This commit is contained in:
Evgeny Sinelnikov 2020-07-01 00:34:36 +04:00
parent 18422ff986
commit 5525cf014e

View File

@ -43,7 +43,6 @@ def set_loglevel(loglevel_num=None):
log_level = 10 * log_num
print('Setting log level to {}'.format(loglevels[log_num]))
logging.basicConfig(format=format_message)
logger = logging.getLogger()
logger.setLevel(log_level)