Cleanup HTTP logging

Review Request #9605 - Created Feb. 8, 2018 and submitted

Barret Rennie
rb-gateway
master
9606
e33bab5...
rb-gateway

The HTTP logging utilities have been moved to their own module to clean
up main.go, which is getting crowded. The old logHttpHandler has been
replaced with the logRequest decorator and the logging format has been
updated to use the Common Logging Format which is logged by most HTTP
daemons.

A new convenience method has been added that returns an http server
configured with the RB Gateway routes.

Compiled.
Ran unit tests.

David Trowbridge
  1. Ship It!
  2. 
      
Barret Rennie
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (b8fc7e4)
Loading...