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 azoft-dev-team/imagrium/env/Lib/logging/handlers.py/TimedRotatingFileHandler.shouldRollover