LSST Applications
21.0.0-147-g0e635eb1+1acddb5be5,22.0.0+052faf71bd,22.0.0+1ea9a8b2b2,22.0.0+6312710a6c,22.0.0+729191ecac,22.0.0+7589c3a021,22.0.0+9f079a9461,22.0.1-1-g7d6de66+b8044ec9de,22.0.1-1-g87000a6+536b1ee016,22.0.1-1-g8e32f31+6312710a6c,22.0.1-10-gd060f87+016f7cdc03,22.0.1-12-g9c3108e+df145f6f68,22.0.1-16-g314fa6d+c825727ab8,22.0.1-19-g93a5c75+d23f2fb6d8,22.0.1-19-gb93eaa13+aab3ef7709,22.0.1-2-g8ef0a89+b8044ec9de,22.0.1-2-g92698f7+9f079a9461,22.0.1-2-ga9b0f51+052faf71bd,22.0.1-2-gac51dbf+052faf71bd,22.0.1-2-gb66926d+6312710a6c,22.0.1-2-gcb770ba+09e3807989,22.0.1-20-g32debb5+b8044ec9de,22.0.1-23-gc2439a9a+fb0756638e,22.0.1-3-g496fd5d+09117f784f,22.0.1-3-g59f966b+1e6ba2c031,22.0.1-3-g849a1b8+f8b568069f,22.0.1-3-gaaec9c0+c5c846a8b1,22.0.1-32-g5ddfab5d3+60ce4897b0,22.0.1-4-g037fbe1+64e601228d,22.0.1-4-g8623105+b8044ec9de,22.0.1-5-g096abc9+d18c45d440,22.0.1-5-g15c806e+57f5c03693,22.0.1-7-gba73697+57f5c03693,master-g6e05de7fdc+c1283a92b8,master-g72cdda8301+729191ecac,w.2021.39
LSST Data Management Base Package
|
Classes | |
class | Log |
class | MDCDict |
class | UsePythonLogging |
class | LevelTranslator |
class | LogHandler |
Functions | |
def | configure (*args) |
def | configure_prop (properties) |
def | configure_pylog_MDC (str level, Optional[type] MDC_class=MDCDict) |
def | getDefaultLogger () |
def | getLogger (loggername) |
def | MDC (key, value) |
def | MDCRemove (key) |
def | MDCRegisterInit (func) |
def | setLevel (loggername, level) |
def | getLevel (loggername) |
def | getEffectiveLevel (loggername) |
def | isEnabledFor (loggername, level) |
def | log (loggername, level, fmt, *args, **kwargs) |
def | trace (fmt, *args) |
def | debug (fmt, *args) |
def | info (fmt, *args) |
def | warn (fmt, *args) |
def | warning (fmt, *args) |
def | error (fmt, *args) |
def | fatal (fmt, *args) |
def | critical (fmt, *args) |
def | logf (loggername, level, fmt, *args, **kwargs) |
def | tracef (fmt, *args, **kwargs) |
def | debugf (fmt, *args, **kwargs) |
def | infof (fmt, *args, **kwargs) |
def | warnf (fmt, *args, **kwargs) |
def | errorf (fmt, *args, **kwargs) |
def | fatalf (fmt, *args, **kwargs) |
def | lwpID () |
def | getLevelName (level) |
def | usePythonLogging () |
def | doNotUsePythonLogging () |
Variables | |
int | TRACE = 5000 |
int | DEBUG = 10000 |
int | INFO = 20000 |
int | WARN = 30000 |
int | ERROR = 40000 |
int | FATAL = 50000 |
int | CRITICAL = FATAL |
int | WARNING = WARN |
def lsst.log.log.logContinued.configure | ( | * | args | ) |
Definition at line 241 of file logContinued.py.
def lsst.log.log.logContinued.configure_prop | ( | properties | ) |
Definition at line 245 of file logContinued.py.
Configure log4cxx to send messages to Python logging, with MDC support. Parameters ---------- level : `str` Name of the logging level for root log4cxx logger. MDC_class : `type`, optional Type of dictionary which is added to `logging.LogRecord` as an ``MDC`` attribute. Any dictionary or ``defaultdict``-like class can be used as a type. If `None` the `logging.LogRecord` will not be augmented. Notes ----- This method does two things: - Configures log4cxx with a given logging level and a ``PyLogAppender`` appender class which forwards all messages to Python `logging`. - Installs a record factory for Python `logging` that adds ``MDC`` attribute to every `logging.LogRecord` object (instance of ``MDC_class``). This will happen by default but can be disabled by setting the ``MDC_class`` parameter to `None`.
Definition at line 249 of file logContinued.py.
def lsst.log.log.logContinued.critical | ( | fmt, | |
* | args | ||
) |
Definition at line 360 of file logContinued.py.
def lsst.log.log.logContinued.debug | ( | fmt, | |
* | args | ||
) |
Definition at line 336 of file logContinued.py.
def lsst.log.log.logContinued.debugf | ( | fmt, | |
* | args, | ||
** | kwargs | ||
) |
Definition at line 372 of file logContinued.py.
def lsst.log.log.logContinued.doNotUsePythonLogging | ( | ) |
Definition at line 417 of file logContinued.py.
def lsst.log.log.logContinued.error | ( | fmt, | |
* | args | ||
) |
Definition at line 352 of file logContinued.py.
def lsst.log.log.logContinued.errorf | ( | fmt, | |
* | args, | ||
** | kwargs | ||
) |
Definition at line 384 of file logContinued.py.
def lsst.log.log.logContinued.fatal | ( | fmt, | |
* | args | ||
) |
Definition at line 356 of file logContinued.py.
def lsst.log.log.logContinued.fatalf | ( | fmt, | |
* | args, | ||
** | kwargs | ||
) |
Definition at line 388 of file logContinued.py.
def lsst.log.log.logContinued.getDefaultLogger | ( | ) |
Definition at line 289 of file logContinued.py.
def lsst.log.log.logContinued.getEffectiveLevel | ( | loggername | ) |
Definition at line 317 of file logContinued.py.
def lsst.log.log.logContinued.getLevel | ( | loggername | ) |
Definition at line 313 of file logContinued.py.
def lsst.log.log.logContinued.getLevelName | ( | level | ) |
Return the name associated with this logging level. Returns "Level %d" if no name can be found.
Definition at line 396 of file logContinued.py.
def lsst.log.log.logContinued.getLogger | ( | loggername | ) |
Definition at line 293 of file logContinued.py.
def lsst.log.log.logContinued.info | ( | fmt, | |
* | args | ||
) |
Definition at line 340 of file logContinued.py.
def lsst.log.log.logContinued.infof | ( | fmt, | |
* | args, | ||
** | kwargs | ||
) |
Definition at line 376 of file logContinued.py.
def lsst.log.log.logContinued.isEnabledFor | ( | loggername, | |
level | |||
) |
Definition at line 321 of file logContinued.py.
def lsst.log.log.logContinued.log | ( | loggername, | |
level, | |||
fmt, | |||
* | args, | ||
** | kwargs | ||
) |
Definition at line 328 of file logContinued.py.
def lsst.log.log.logContinued.logf | ( | loggername, | |
level, | |||
fmt, | |||
* | args, | ||
** | kwargs | ||
) |
Definition at line 364 of file logContinued.py.
def lsst.log.log.logContinued.lwpID | ( | ) |
Definition at line 392 of file logContinued.py.
def lsst.log.log.logContinued.MDC | ( | key, | |
value | |||
) |
Definition at line 297 of file logContinued.py.
def lsst.log.log.logContinued.MDCRegisterInit | ( | func | ) |
Definition at line 305 of file logContinued.py.
def lsst.log.log.logContinued.MDCRemove | ( | key | ) |
Definition at line 301 of file logContinued.py.
def lsst.log.log.logContinued.setLevel | ( | loggername, | |
level | |||
) |
Definition at line 309 of file logContinued.py.
def lsst.log.log.logContinued.trace | ( | fmt, | |
* | args | ||
) |
Definition at line 332 of file logContinued.py.
def lsst.log.log.logContinued.tracef | ( | fmt, | |
* | args, | ||
** | kwargs | ||
) |
Definition at line 368 of file logContinued.py.
def lsst.log.log.logContinued.usePythonLogging | ( | ) |
Definition at line 413 of file logContinued.py.
def lsst.log.log.logContinued.warn | ( | fmt, | |
* | args | ||
) |
Definition at line 344 of file logContinued.py.
def lsst.log.log.logContinued.warnf | ( | fmt, | |
* | args, | ||
** | kwargs | ||
) |
Definition at line 380 of file logContinued.py.
def lsst.log.log.logContinued.warning | ( | fmt, | |
* | args | ||
) |
Definition at line 348 of file logContinued.py.
int lsst.log.log.logContinued.CRITICAL = FATAL |
Definition at line 52 of file logContinued.py.
int lsst.log.log.logContinued.DEBUG = 10000 |
Definition at line 45 of file logContinued.py.
int lsst.log.log.logContinued.ERROR = 40000 |
Definition at line 48 of file logContinued.py.
int lsst.log.log.logContinued.FATAL = 50000 |
Definition at line 49 of file logContinued.py.
int lsst.log.log.logContinued.INFO = 20000 |
Definition at line 46 of file logContinued.py.
int lsst.log.log.logContinued.TRACE = 5000 |
Definition at line 44 of file logContinued.py.
int lsst.log.log.logContinued.WARN = 30000 |
Definition at line 47 of file logContinued.py.
int lsst.log.log.logContinued.WARNING = WARN |
Definition at line 53 of file logContinued.py.