Rails 8 comes with a SilenceRequest Rack middleware. It is pretty useful when you want to exclude healthchecks from your logs. If you are on an older version of Rails, you can just put this into an initializer and enable it with 'config.silence_healthcheck_path = "/up"' github.com/rails/rails/...
github.comrails/railties/lib/rails/rack/silence_request.rb at main · rails/railsRuby on Rails. Contribute to rails/rails development by creating an account on GitHub.
0 reposts2 likes