for later from colorlog import ColoredFormatter # Create console handler for sev. levels log_colors = { 'DEBUG': 'bold_red', 'INFO': 'green', 'WARNING': 'yellow', 'ERROR': 'red', 'CRITICAL': 'red', }