Python Logging Demystified: Part 1 – Concepts – YouTube

Source: Python Logging Demystified: Part 1 - Concepts - YouTube def create_timed_rotating_log(path): """""" logger = logging.getLogger("Rotating Log") logger.setLevel(logging.INFO) handler = TimedRotatingFileHandler(path, when="m", interval=1, backupCount=5) logger.addHandler(handler) 'handlers': { 'django': { 'level':…

Continue ReadingPython Logging Demystified: Part 1 – Concepts – YouTube