mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-31 10:11:17 +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:
parent
c89e249732
commit
c93b1a0939
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user