MCPcopy
hub / github.com/benoitc/gunicorn / _get_gunicorn_handler

Method _get_gunicorn_handler

gunicorn/glogging.py:414–417  ·  view source on GitHub ↗
(self, log)

Source from the content-addressed store, hash-verified

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

Callers 1

_set_handlerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected