Enable configuration of new relic STDOUT logging

This commit is contained in:
Richard 2015-04-14 13:16:10 -07:00
parent 1c22aefa5e
commit c359a6d172
4 changed files with 6 additions and 2 deletions

View file

@ -175,7 +175,7 @@ func configureReporting(app *handlers.App) http.Handler {
agent.NewrelicName = app.Config.Reporting.NewRelic.Name
}
agent.CollectHTTPStat = true
agent.Verbose = true
agent.Verbose = app.Config.Reporting.NewRelic.Verbose
agent.Run()
handler = agent.WrapHTTPHandler(handler)