caoscrawler.logging module#
- caoscrawler.logging.configure_server_side_logging(max_log_level: int = 20)#
Set logging up to save one plain debugging log file, one plain info log file (for users) and a stdout stream with messages wrapped in html elements
returns the path to the file with debugging output
- Parameters:
max_log_level (int, optional) – The maximum log level to use for SSS-logs. Default is
logging.INFO.- Returns:
userlog_public, htmluserlog_public, debuglog_public – Public paths of the respective log files.
- Return type:
str