mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
et logging handler after we daemonize like it was before. Solve issue
raised by timf : 26f9460e48
This commit is contained in:
parent
acd8d57c9f
commit
7c671b72cc
@ -63,9 +63,7 @@ class Application(object):
|
||||
for k, v in list(opts.__dict__.items()):
|
||||
if v is None:
|
||||
continue
|
||||
self.cfg.set(k.lower(), v)
|
||||
|
||||
self.configure_logging()
|
||||
self.cfg.set(k.lower(), v)
|
||||
|
||||
def init(self, parser, opts, args):
|
||||
raise NotImplementedError
|
||||
@ -85,6 +83,7 @@ class Application(object):
|
||||
util.daemonize()
|
||||
else:
|
||||
os.setpgrp()
|
||||
self.configure_logging()
|
||||
Arbiter(self).run()
|
||||
|
||||
def configure_logging(self):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user