logging_conf module

HSTB.kluster.logging_conf Module

Functions

add_file_handler(logger, logfile[, ...])

Take an existing logger and add a new file handler to it, to save the log output to file.

logfile_matches(logger, logfile)

Check if the provided file path matches an existing file handler destination

logger_has_file_handler(logger)

Check if this logger contains a file handler

logger_remove_file_handlers(logger)

Remove all existing file handlers from the logger instance

return_log_name([timestamped])

Return the log file name that we use throughout kluster.

return_logger(name[, logfile])

Built to support logging within the kluster system.

Classes

LoggerClass([silent, logger])

Basic class for logging.

StdErrFilter([name])

filter out messages that are not CRITICAL or ERROR or WARNING

StdOutFilter([name])

filter out messages that are not DEBUG or INFO