I'm trying to figure out how to quiet the very distracting Cache read: http://localhost:3000/assets/...
statements in my Rails development.log, which really slow me down with all the scrolling they cause me to do (I'm on Rails 3.2).
In my development log, after the SQL statements, and reads/writes for cache fragments (which is still useful and I want to keep), there is a long list of Cache read statements for all the js, css, and images being used on the requested page. Just to show a handful:
Cache read: http://localhost:3000/assets/jquery.atwho.css?body=1
Cache read: http://localhost:3000/assets/jquery.selectric.css?body=1
Cache read: http://localhost:3000/assets/font-awesome.css?body=1
Cache read: http://localhost:3000/assets/480.css?body=1
Cache read: http://localhost:3000/assets/768.css?body=1
I'm using the quiet_assets gem as was suggested in another SO post, but that's not working on these "Cache read" statements.
Is there some simple setting I'm missing in config/environments/development.rb
to not output these to the log? Thanks everyone
EDIT: Here are my development.rb settings (I included anything that might be relevant):
config.consider_all_requests_local = true
# cache store
config.action_controller.perform_caching = true
config.cache_store = :dalli_store, nil, {
value_max_bytes: 10485760,
compress: true
}
config.static_cache_control = "public, max-age=2592000"
config.assets.compress = false
config.assets.debug = true
config.assets.logger = false