riemann-dash icon indicating copy to clipboard operation
riemann-dash copied to clipboard

Rack::CommonLogging is enabled even when RACK_ENV is set to production

Open shanielh opened this issue 9 years ago • 0 comments

Hi.

I tried to figure out how to disable those logging messages :

172.17.42.1 - - [14/Jul/2015:06:34:23 UTC] "GET /subs.js HTTP/1.1" 304 0
http://localhost:4567/ -> /subs.js
172.17.42.1 - - [14/Jul/2015:06:34:23 UTC] "GET /toolbar.js HTTP/1.1" 304 0
http://localhost:4567/ -> /toolbar.js
172.17.42.1 - - [14/Jul/2015:06:34:23 UTC] "GET /eventPane.js HTTP/1.1" 304 0
http://localhost:4567/ -> /eventPane.js
172.17.42.1 - - [14/Jul/2015:06:34:23 UTC] "GET /view.js HTTP/1.1" 304 0
http://localhost:4567/ -> /view.js
172.17.42.1 - - [14/Jul/2015:06:34:23 UTC] "GET /views/timeseries.js HTTP/1.1" 304 0
http://localhost:4567/ -> /views/timeseries.js
172.17.42.1 - - [14/Jul/2015:06:34:23 UTC] "GET /views/flot.js HTTP/1.1" 304 0
http://localhost:4567/ -> /views/flot.js
172.17.42.1 - - [14/Jul/2015:06:34:23 UTC] "GET /views/title.js HTTP/1.1" 304 0
http://localhost:4567/ -> /views/title.js
172.17.42.1 - - [14/Jul/2015:06:34:23 UTC] "GET /views/log.js HTTP/1.1" 304 0
172.17.42.1 - - [14/Jul/2015:06:34:23 UTC] "GET /views/list.js HTTP/1.1" 304 0
http://localhost:4567/ -> /views/log.js
http://localhost:4567/ -> /views/list.js
172.17.42.1 - - [14/Jul/2015:06:34:23 UTC] "GET /views/help.js HTTP/1.1" 304 0
http://localhost:4567/ -> /views/help.js
172.17.42.1 - - [14/Jul/2015:06:34:23 UTC] "GET /views/gauge.js HTTP/1.1" 304 0
http://localhost:4567/ -> /views/gauge.js
172.17.42.1 - - [14/Jul/2015:06:34:23 UTC] "GET /views/dial.js HTTP/1.1" 304 0
http://localhost:4567/ -> /views/dial.js
172.17.42.1 - - [14/Jul/2015:06:34:23 UTC] "GET /views/grid.js HTTP/1.1" 304 0
http://localhost:4567/ -> /views/grid.js
172.17.42.1 - - [14/Jul/2015:06:34:23 UTC] "GET /dash.js HTTP/1.1" 304 0
http://localhost:4567/ -> /dash.js
172.17.42.1 - - [14/Jul/2015:06:34:23 UTC] "GET /config HTTP/1.1" 200 2
http://localhost:4567/ -> /config

I tried to set the environment variable RACK_ENV to production but it doesn't work :(

Suggestions?

shanielh avatar Jul 14 '15 06:07 shanielh