prevent /ping requests from being written in centralized_logs
fix #8926
This commit is contained in:
parent
32cc6aefb8
commit
976f46717b
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ Rails.application.configure do
|
|||
|
||||
config.lograge.keep_original_rails_log = true
|
||||
config.lograge.logger = ActiveSupport::Logger.new(Rails.root.join('log', "logstash_#{Rails.env}.log"))
|
||||
config.lograge.ignore_actions = ['PingController#index']
|
||||
end
|
||||
|
||||
Rails.application.config.after_initialize do |app|
|
||||
|
|
Loading…
Reference in a new issue