Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

uWSGI: disable logs for given urls

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?

like image 359
Andrey Rusanov Avatar asked Sep 05 '14 05:09

Andrey Rusanov


1 Answers

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

like image 105
roberto Avatar answered Sep 22 '22 20:09

roberto