julienschmidt / go-http-routing-benchmark

Go HTTP request router and web framework benchmark
BSD 3-Clause "New" or "Revised" License
1.65k stars 238 forks source link

Prevent Tango from writing to stdout #19

Closed syscrusher closed 9 years ago

syscrusher commented 9 years ago

Tango initializes itself with a logger to stdout, which gets quite long during all of the benchmark requests. https://github.com/lunny/tango/blob/master/tan.go#L199

Instead write to /dev/null (ioutil.Discard).

julienschmidt commented 9 years ago

Thank you!