def activateOptions(self): logging.handlers.RotatingFileHandler.__init__(self, **self.log4pyProps) self.setLevel(self.threshold) # TimedRotatingFileHandler is only available for 2.4 and up