Python 使用Gunicorn和Flask查看传入请求登录控制台

Python 使用Gunicorn和Flask查看传入请求登录控制台,python,flask,gunicorn,Python,Flask,Gunicorn,可以在启动flask后使用它查看传入的请求,例如。 有没有办法查看gunicorn实时发送的请求?按以下方式运行gunicorn,您将看到传入请求日志: $ gunicorn --workers 3 your_module:your_app --access-logfile - 按以下方式运行Gunicorn,您将看到传入请求日志: $ gunicorn --workers 3 your_module:your_app --access-logfile -

可以在启动flask后使用它查看传入的请求,例如。


有没有办法查看gunicorn实时发送的请求?

按以下方式运行gunicorn,您将看到传入请求日志:

$ gunicorn --workers 3 your_module:your_app --access-logfile -

按以下方式运行Gunicorn,您将看到传入请求日志:

$ gunicorn --workers 3 your_module:your_app --access-logfile -