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
Written by Rafael Oliveira
Related protips
2 Responses
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
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#