linkcheck.logconf

Logging configuration

Functions

add_loghandler(handler)

Add log handler to root logger and LOG_ROOT and set formatting.

init_log_config([handler])

Set up the application logging (not to be confused with check loggers).

remove_loghandler(handler)

Remove log handler from root logger and LOG_ROOT.

reset_loglevel()

Reset log level to display only warnings and errors.

set_debug(loggers)

Set debugging log level.

set_loglevel(loggers, level)

Set logging levels for given loggers.

linkcheck.logconf.add_loghandler(handler)[source]

Add log handler to root logger and LOG_ROOT and set formatting.

linkcheck.logconf.init_log_config(handler=None)[source]

Set up the application logging (not to be confused with check loggers).

linkcheck.logconf.remove_loghandler(handler)[source]

Remove log handler from root logger and LOG_ROOT.

linkcheck.logconf.reset_loglevel()[source]

Reset log level to display only warnings and errors.

linkcheck.logconf.set_debug(loggers)[source]

Set debugging log level.

linkcheck.logconf.set_loglevel(loggers, level)[source]

Set logging levels for given loggers.