~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to start-loggerhead

  • Committer: Matt Nordhoff
  • Date: 2009-04-18 06:16:28 UTC
  • mto: (389.2.2 pep8-2009-10)
  • mto: This revision was merged to the branch mainline in revision 392.
  • Revision ID: mnordhoff@mattnordhoff.com-20090418061628-se1tmec6uig41md0
Remove unused imports in history.py, plus some syntax tweaks.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
 
19
19
import logging
 
20
import logging.handlers
20
21
from optparse import OptionParser
21
22
import os
22
23
import sys
31
32
 
32
33
from loggerhead import daemon
33
34
from loggerhead.apps.config import Root
34
 
from loggerhead.trace import setup_logging
 
35
from loggerhead.trace import make_handler, setup_logging
35
36
from loggerhead.apps.error import ErrorHandlerApp
36
37
 
37
38
 
92
93
    if not options.foreground:
93
94
        sys.stderr.write('\n')
94
95
        sys.stderr.write('Launching loggerhead into the background.\n')
95
 
        sys.stderr.write('PID file: %s\n' % (options.pidfile,))
 
96
        sys.stderr.write('PID file: %s\n' % options.pidfile)
96
97
        sys.stderr.write('\n')
97
98
 
98
99
        daemon.daemonize(options.pidfile, home)