/usr/lib/mklibs/python/mklibs/utils/logging.py is in mklibs-copy 0.1.41.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | from __future__ import absolute_import
import logging as _base
CRITICAL = _base.CRITICAL
ERROR = _base.ERROR
WARNING = _base.WARNING
INFO = _base.INFO
VERBOSE = (_base.INFO + _base.DEBUG) / 2
DEBUG = _base.DEBUG
basicConfig = _base.basicConfig
getLogger = _base.getLogger
class Logger(_base.Logger):
def verbose(self, msg, *args, **kwargs):
return self.log(VERBOSE, msg, *args, **kwargs)
_base.addLevelName(VERBOSE, 'VERBOSE')
_base.setLoggerClass(Logger)
|