Last Updated: November 02, 2017
·
4.285K
· rafaelcgo

Rails 4 Asset Pipeline Log silent

These asset pipeline logs bugs you?

Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-12 15:05:35 -0300
Started GET "/assets/twitter-bootstrap-static/bootstrap.css?body=1" for 127.0.0.1 at 2013-08-12 15:05:35 -0300
Started GET "/assets/twitter-bootstrap-static/fontawesome.css?body=1" for 127.0.0.1 at 2013-08-12 15:05:35 -0300

Just install quiet_assets gem and you're good to go: http://rubygems.org/gems/quiet_assets

2 Responses
Add your response

If you are using unicorn + foreman, this might not be all... Logs will still be noisy.

Try:

Procfile

web: bundle exec unicorn -p 3000 > /dev/null 2>&1
rails: tail -f log/development.log

http://stackoverflow.com/questions/21778555/disable-asset-logging-in-rails-4-unicorn-foreman

over 1 year ago ·

Heads up: The quietassets gem is now depreciated : https://github.com/evrone/quietassets

over 1 year ago ·