(self, log)
| 412 | handler.release() |
| 413 | |
| 414 | def _get_gunicorn_handler(self, log): |
| 415 | for h in log.handlers: |
| 416 | if getattr(h, "_gunicorn", False): |
| 417 | return h |
| 418 | |
| 419 | def _set_handler(self, log, output, fmt, stream=None): |
| 420 | # remove previous gunicorn log handler |