1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-31 02:01:16 +00:00

utils/log: adjust level for CGgroups logger

devlib's CGgroups module logs things at INFO level. The information it
logs is too detailed for what WA considers "INFO", and should be logged
at DEBUG level instead.
This commit is contained in:
Sergei Trofimov 2017-10-05 16:48:54 +01:00
parent c89e249732
commit c93b1a0939

View File

@ -74,6 +74,9 @@ def init(verbosity=logging.INFO, color=True, indent_with=4,
if not debug:
logging.raiseExceptions = False
logger = logging.getLogger('CGroups')
logger.info = logger.debug
def set_level(level):
_console_handler.setLevel(level)