Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

reopen log files after initialization . close #309

make sure we reopen logfiles after initialization so we are sure we can
use it.
  • Loading branch information...
commit ff1dfa1780e3e22448ec9a455b9a91ad93de7a9c 1 parent 533ce5d
@benoitc benoitc authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 gunicorn/arbiter.py
View
4 gunicorn/arbiter.py
@@ -86,8 +86,8 @@ def setup(self, app):
self.cfg = app.cfg
self.log = self.cfg.logger_class(app.cfg)
- if 'GUNICORN_FD' in os.environ:
- self.log.reopen_files()
+ # reopen files
+ self.log.reopen_files()
self.address = self.cfg.address
self.num_workers = self.cfg.workers
Please sign in to comment.
Something went wrong with that request. Please try again.