Initialize logging before setup since setup can emit warnings to log

This commit is contained in:
jbergstroem 2010-07-23 11:20:51 +02:00 committed by Paul J. Davis
parent 0d67447d19
commit e99a384a22

View File

@ -48,10 +48,10 @@ class Arbiter(object):
)
def __init__(self, app):
self.setup(app)
self.log = logging.getLogger(__name__)
self.setup(app)
self.pidfile = None
self.worker_age = 0
self.reexec_pid = 0