![]() |
ATLAS Offline Software
|
Go to the source code of this file.
Namespaces | |
| namespace | python |
| namespace | python.trfLogger |
| namespace | PyJobTransforms.trfLogger |
| Logging configuration for ATLAS job transforms. | |
Functions | |
| python.trfLogger.setRootLoggerLevel (level) | |
| Change the loggging level of the root logger. | |
Variables | |
| python.trfLogger.msg = logging.getLogger('PyJobTransforms') | |
| base logger Note we do not setup a root logger, as this has nasty interactions with the PyUtils root logger (double copies of messages). | |
| dict | python.trfLogger.stdLogLevels |
| Map strings to standard logging levels FATAL is the same level as CRITICAL (used for parsing athena logfiles); ditto for VERBOSE==DEBUG. | |
| list | python.trfLogger.stdLogLevelsByCritcality = ['FATAL', 'CRITICAL', 'ERROR', 'WARNING', 'INFO', 'VERBOSE', 'DEBUG'] |
| This is the correct order to put the most serious stuff first. | |
| python.trfLogger.hdlr = logging.StreamHandler(sys.stdout) | |
| python.trfLogger.frmt = logging.Formatter("%(name)s.%(funcName)s %(asctime)s %(levelname)s %(message)s") | |