Ensure we log all requests

Review Request #9840 — Created March 27, 2018 and submitted

Information

rb-gateway
master
81e575f...

Reviewers

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.
brennie
brennie
david
  1. Ship It!
  2. 
      
brennie
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (10d8679)
Loading...