Slide 183
Slide 183 text
$ git commit -am “Decompose RequestLogger
The request logger middleware was responsible for mainipulating HTTP
response headers for New Relic logging, sending measurement probes
to StatsD, and outputting debugging information about a random
sample of requests to the application log.
This change splits up its responsibilities into three components:
NewRelicHeader, StatsdTimer, DebugLogWriter.
* Added coverage for middleware components
* Minor consistency fixes in application config