Ensure we log all requests

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

Barret Rennie
rb-gateway
master
9782
9795
81e575f...
rb-gateway

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.
Barret Rennie
Barret Rennie
David Trowbridge
  1. Ship It!
  2. 
      
Barret Rennie
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (10d8679)
Loading...