Skip to content

Commit

Permalink
Merge pull request #690 from trade-tariff/bau-dont-log-healthchecks
Browse files Browse the repository at this point in the history
BAU: Don't log healthchecks in production
  • Loading branch information
amberstarlight committed Sep 13, 2023
2 parents 2973aaa + afb75c7 commit 149300f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/environments/production.rb
Expand Up @@ -63,4 +63,10 @@
config.logger = ActiveSupport::Logger.new($stdout)
config.lograge.enabled = true
config.lograge.formatter = Lograge::Formatters::Logstash.new

config.lograge.ignore_actions = [
'HealthcheckController#index',
'HealthcheckController#checkz',
]

end

0 comments on commit 149300f

Please sign in to comment.