~david-goetz/swift/zero_byte_obj_audit

« back to all changes in this revision

Viewing changes to swift/common/daemon.py

  • Committer: David Goetz
  • Date: 2011-02-03 18:40:22 UTC
  • Revision ID: david.goetz@rackspace.com-20110203184022-evrugii4egtlwcwy
fixes and true vals refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
                          log_name=kwargs.get('log_name'))
75
75
 
76
76
    # once on command line (i.e. daemonize=false) will over-ride config
77
 
    once = once or conf.get('daemonize', 'true') not in utils.TRUE_VALUES
 
77
    once = once or conf.get('daemonize', 'true').lower() not in utils.TRUE_VALS
78
78
 
79
79
    # pre-configure logger
80
80
    if 'logger' in kwargs: