This gem serves 2 roles:
- Make the server health check URL available via HTTP even when at the application level, config.ssl_only is true.
- Make the server health check URL use a different log file than the rest of the application. If the server health check URL is being pinged by monitoring tools every few seconds, it creates a log of noise in the logs. Instead of logging to production.log like all other requests, it instead logs to health_check.log.
How to use my plugin.
Add this line to your application's Gemfile:
gem 'server_health_check-rails-osm'And then execute:
$ bundleOr install it yourself as:
$ gem install server_health_check-rails-osmContribution directions go here.
The gem is available as open source under the terms of the MIT License.