def shouldRollover(self, record):
        t = int(time.time())
        if t >= self.rolloverAt:
            return 1
        #print "No need to rollover: %d, %d" % (t, self.rolloverAt)
        return 0
Determine if rollover should occur
dataset/ETHPy150Open babble/babble/include/jython/Lib/logging/handlers.py/TimedRotatingFileHandler.shouldRollover