~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to start-loggerhead.py

ok i should've known those API calls wouldn't be consistent.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
    elif roll == 'weekly':
23
23
        h = logging.handlers.TimedRotatingFileHandler(filename, 'W0', 0, 100)
24
24
    else:
25
 
        h = logging.handlers.FileHandler(filename)
 
25
        h = logging.FileHandler(filename)
26
26
    return h
27
27
 
28
28