Printing worker logs #160
-
If I add a worker-level gunicorn hook to my accesslog = '-'
loglevel = 'debug'
errorlog = '-'
capture_output = True
def post_request(worker, req, environ, resp):
worker.log.info(req)
worker.log.info(environ)
worker.log.info(resp) These logs never show up in the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Update: this seems to be a fault in the meinheld worker, which is something I believe should be documented for these docker images as well. For more info refer to my issue here: mopemope/meinheld#118 |
Beta Was this translation helpful? Give feedback.
-
Hi, same issue I think? I only see logs in case of an error. If everything works well, I only see :
|
Beta Was this translation helpful? Give feedback.
Update: this seems to be a fault in the meinheld worker, which is something I believe should be documented for these docker images as well. For more info refer to my issue here: mopemope/meinheld#118