mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Initialize logging before setup since setup can emit warnings to log
This commit is contained in:
parent
0d67447d19
commit
e99a384a22
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user