36
36
def make_handler(config, filename):
37
37
roll = config.get('log.roll', 'never')
39
h = logging.handlers.TimedRotatingFileHandler(filename, 'midnight', 0, 100)
39
h = logging.handlers.TimedRotatingFileHandler(filename, 'midnight', 1, 100)
41
h = logging.handlers.TimedRotatingFileHandler(filename, 'W0', 0, 100)
41
h = logging.handlers.TimedRotatingFileHandler(filename, 'W0', 1, 100)
43
43
h = logging.FileHandler(filename)