Ensure we log all requests
Review Request #9840 — Created March 27, 2018 and submitted — Latest diff uploaded
During the API refactor, I moved the logging middleware into the router.
However, that middleware will only be executed if the router matches the
request, so 404s from routes that don't match won't be logged. Instead,
we wrap our router with it so all requests are logged.
- Verified that hitting missing URLs results in the requests being
logged. - Ran unit tests.