Files
notifications-api/app/authentication
Ben Thorner 96c527038c Only log authorization for public requests
This is the original behaviour [1]. Since all internal requests will
have corresponding logs from public-facing apps that are making them,
there's little value in logging them.

Logging internal requests doesn't lead to a significant increase in
our overall log ingestion: a rough estimate is its an extra 5000 logs
per minute, out of about 900K per minute.

[1]: https://github.com/alphagov/notifications-api/blame/e08d726f0579e023c565f5cf42dff5dc95e41a0d/app/authentication/auth.py#L153
2021-08-04 16:16:31 +01:00
..
2016-01-14 14:28:23 +00:00