问题
I need to disable uWSGI logs just for one url. I played around uWSGI config but didn't find anything that can helps(maybe route directive, but it didn't give me required result). Do you have any ideas about it?
回答1:
Use its internal routing framework with the donotlog
action:
route = ^foo donotlog:
But ensure your instance has internal routing support compiled in (if not you should see a warning in the startup logs).
来源:https://stackoverflow.com/questions/25679166/uwsgi-disable-logs-for-given-urls