mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
don't close on exec STDOUT/STDERR
This commit is contained in:
parent
c9fcb25f51
commit
ba25de4c1c
@ -310,9 +310,6 @@ class Logger(object):
|
||||
handler.release()
|
||||
|
||||
def close_on_exec(self):
|
||||
for stream in sys.stdout, sys.stderr:
|
||||
util.close_on_exec(stream.fileno())
|
||||
|
||||
for log in loggers():
|
||||
for handler in log.handlers:
|
||||
if isinstance(handler, logging.FileHandler):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user