what is it?
log rotation
it’s generally better to use logging.handlers.WatchedFileHandler with a third-party tool like Logrotate to handle rotation rather than the logging.handlers.RotatingFileHandler or logging.handlers.TimedRotatingFileHandler handlers.. especially where multiple processes will be logging to a file