moved RotatingFileHandler import at top of file