Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
shanielh opened this issue Jul 14, 2015 · 0 comments
Open

Comments

@shanielh
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant