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).