I want to disable /health_check/ logs in my uwsgi.log file. I want the other url logs to be printed. This is my log format.
logformat = "uwsgi:request %(addr) | %(method) %(uri) | %(status) | %(msecs) | %(ctime) | %(vszM)"
I have tried the following to disable health_check url logs.
- route-if = equal:${REQUEST_URI};/health_check/ donotlog:
- route = ^/health_check donotlog:
None of them seem to work. Also I don't see a problem with internal routing since I don't see any errors in the startup logs when I use route. Any possible solution to make it work?