LSST Applications g0b6bd0c080+a72a5dd7e6,g1182afd7b4+2a019aa3bb,g17e5ecfddb+2b8207f7de,g1d67935e3f+06cf436103,g38293774b4+ac198e9f13,g396055baef+6a2097e274,g3b44f30a73+6611e0205b,g480783c3b1+98f8679e14,g48ccf36440+89c08d0516,g4b93dc025c+98f8679e14,g5c4744a4d9+a302e8c7f0,g613e996a0d+e1c447f2e0,g6c8d09e9e7+25247a063c,g7271f0639c+98f8679e14,g7a9cd813b8+124095ede6,g9d27549199+a302e8c7f0,ga1cf026fa3+ac198e9f13,ga32aa97882+7403ac30ac,ga786bb30fb+7a139211af,gaa63f70f4e+9994eb9896,gabf319e997+ade567573c,gba47b54d5d+94dc90c3ea,gbec6a3398f+06cf436103,gc6308e37c7+07dd123edb,gc655b1545f+ade567573c,gcc9029db3c+ab229f5caf,gd01420fc67+06cf436103,gd877ba84e5+06cf436103,gdb4cecd868+6f279b5b48,ge2d134c3d5+cc4dbb2e3f,ge448b5faa6+86d1ceac1d,gecc7e12556+98f8679e14,gf3ee170dca+25247a063c,gf4ac96e456+ade567573c,gf9f5ea5b4d+ac198e9f13,gff490e6085+8c2580be5c,w.2022.27
LSST Data Management Base Package
|
Classes | |
class | LevelTranslator |
class | Log |
class | LogHandler |
class | MDCDict |
class | UsePythonLogging |
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.