You have TimedRotatingFileHandler, but not have RotatingFileHandler https://docs.python.org/3/library/logging.handlers.html#rotatingfilehandler Is it very hard to implement?