Cleanup HTTP logging

Review Request #9605 — Created Feb. 8, 2018 and submitted — Latest diff uploaded

Information

rb-gateway
master
e33bab5...

Reviewers

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.

    Loading...