Quiet Routes implemented with reference to quiet_assets.
This is turns off the Rails particular log.
e.g. Will be able to suppress the health check log of AWS ELB or other load balancers.
Support Ruby on Rails = 4.1
To install, add this line to development group in your Gemfile:
gem 'quiet_routes'
Then, from the command line, run:
$ bundle
After installation, place the following in your config/application.rb
file:
config.quiet_routes = %w(/silent_route1 /silent_route2 ...)
- Fork it ( https://github.com/yusuket/quiet_routes/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request