Commit Graph

5 Commits

Author SHA1 Message Date
Mike Lang
7155292765 middleware: Update references in comments to why Hijacker is needed 2016-11-07 11:52:19 -08:00
Tom Wilkie
727404c9b8 Extend logging middleware to optionally only log failed HTTP requests (#1909)
* Extend logging middleware to optionally only log failed HTTP requests

* Add a preconfigured logger for logging failed requests, use it in the app.

* Wide definition of success
2016-10-07 18:03:36 -07:00
Tom Wilkie
5079a9eba4 Only log first http header. 2016-05-23 14:02:52 +01:00
Tom Wilkie
e81b1b98e9 Add generic path rewrite middleware
And fix a bug in the logging middleware.
2016-04-26 14:43:48 +01:00
Tom Wilkie
a8f0d64b3c Add middleware for logging each request to the app. 2016-04-06 14:47:08 +01:00