yum.logginglevels

Custom logging levels for finer-grained logging using python’s standard logging module.

yum.logginglevels.syslogFacilityMap(facility)
yum.logginglevels.logLevelFromErrorLevel(error_level)

Convert an old-style error logging level to the new style.

yum.logginglevels.logLevelFromDebugLevel(debug_level)

Convert an old-style debug logging level to the new style.

yum.logginglevels.setDebugLevel(level)
yum.logginglevels.setErrorLevel(level)
yum.logginglevels.doLoggingSetup(debuglevel, errorlevel, syslog_ident=None, syslog_facility=None, syslog_device='/dev/log')

Configure the python logger.

errorlevel is optional. If provided, it will override the logging level provided in the logging config file for error messages. debuglevel is optional. If provided, it will override the logging level provided in the logging config file for debug messages.

yum.logginglevels.setFileLog(uid, logfile, cleanup=None)
yum.logginglevels.setLoggingApp(app)

Previous topic

yum.i18n

Next topic

yum.mdparser

This Page