~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to start-loggerhead.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-09-07 18:46:20 UTC
  • mfrom: (128.4.15 no-more-bdb)
  • Revision ID: pqm@pqm.ubuntu.com-20070907184620-nu3n5io002ryctkx
[r=barry] stop using the bdb-backed shelve database for caching

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
        
74
74
    if options.check:
75
75
        if daemon.is_running(pidfile):
76
76
            sys.exit(0)
77
 
        sys.stderr.write('Did not find okulo running in %r; restarting...\n' % (pidfile,))
 
77
        sys.stderr.write('Did not find loggerhead running in %r; restarting...\n' % (pidfile,))
78
78
    
79
79
    # read loggerhead config
80
80