logging.handlers.RotatingFileHandler.setLevel

RotatingFileHandler.setLevel(level)

Set the logging level of this handler.