Sha256: 7bde04e39cdb4b6c1d65fd6bed800408039262cdcceebe4340cf1ba2b444420b

Contents?: true

Size: 236 Bytes

Versions: 18

Compression:

Stored size: 236 Bytes

Contents

require "silencer/rails/logger"

# Don't log requests to the healthcheck endpoint
Rails.application.configure do
  config.middleware.swap(
    Rails::Rack::Logger,
    Silencer::Logger,
    config.log_tags,
    silence: ["/up"]
  )
end

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
panda-cms-0.7.3 config/initializers/panda/cms/healthcheck_log_silencer.rb
panda-cms-0.7.2 config/initializers/panda/cms/healthcheck_log_silencer.rb
panda-cms-0.7.0 config/initializers/panda/cms/healthcheck_log_silencer.rb
panda_cms-0.6.3 config/initializers/panda_cms/healthcheck_log_silencer.rb
panda_cms-0.6.2 config/initializers/panda_cms/healthcheck_log_silencer.rb
panda_cms-0.6.1 config/initializers/panda_cms/healthcheck_log_silencer.rb
panda_cms-0.6.0 config/initializers/panda_cms/healthcheck_log_silencer.rb
panda_cms-0.5.10 config/initializers/panda_cms/healthcheck_log_silencer.rb
panda_cms-0.5.9 config/initializers/panda_cms/healthcheck_log_silencer.rb
panda_cms-0.5.8 config/initializers/panda_cms/healthcheck_log_silencer.rb
panda_cms-0.5.7 config/initializers/panda_cms/healthcheck_log_silencer.rb
panda_cms-0.5.6 config/initializers/panda_cms/healthcheck_log_silencer.rb
panda_cms-0.5.5 config/initializers/panda_cms/healthcheck_log_silencer.rb
panda_cms-0.5.4 config/initializers/panda_cms/healthcheck_log_silencer.rb
panda_cms-0.5.3 config/initializers/panda_cms/healthcheck_log_silencer.rb
panda_cms-0.5.2 config/initializers/panda_cms/healthcheck_log_silencer.rb
panda_cms-0.5.1 config/initializers/panda_cms/healthcheck_log_silencer.rb
panda_cms-0.5.0 config/initializers/panda_cms/healthcheck_log_silencer.rb