Fixes #41

Logging was occurring when the request was received, before the
response status code had been determined. As a result, a default of 200
was applied in lieu of the missing value.