~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to start-loggerhead

  • Committer: Matt Nordhoff
  • Date: 2009-06-06 09:21:52 UTC
  • mto: This revision was merged to the branch mainline in revision 366.
  • Revision ID: mnordhoff@mattnordhoff.com-20090606092152-p7k637np0h1t2q0a
Add type attributes to all of the <link> elements

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
 
22
22
import logging
 
23
import logging.handlers
23
24
from optparse import OptionParser
24
25
import os
25
26
import sys
34
35
 
35
36
from loggerhead import daemon
36
37
from loggerhead.apps.config import Root
37
 
from loggerhead.trace import setup_logging
 
38
from loggerhead.trace import make_handler, setup_logging
38
39
from loggerhead.apps.error import ErrorHandlerApp
39
40
 
40
41
 
102
103
    if not options.foreground:
103
104
        sys.stderr.write('\n')
104
105
        sys.stderr.write('Launching loggerhead into the background.\n')
105
 
        sys.stderr.write('PID file: %s\n' % (options.pidfile,))
 
106
        sys.stderr.write('PID file: %s\n' % options.pidfile)
106
107
        sys.stderr.write('\n')
107
108
 
108
109
        daemon.daemonize(options.pidfile, home)