Skip to content

Commit

Permalink
Merge pull request #185 from datacite/filter-heartbeat-log-entries
Browse files Browse the repository at this point in the history
filter out heartbeat log entries
  • Loading branch information
wendelfabianchinsamy authored May 21, 2024
2 parents 7b7f977 + 94bedba commit 07b92c1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,7 @@ class Application < Rails::Application
config.logger = config.lograge.logger
config.log_level = ENV["LOG_LEVEL"].to_sym

# config.lograge.ignore_actions = ["HeartbeatController#index", "IndexController#index"]
# config.lograge.ignore_custom = lambda do |event|
# event.payload.inspect.length > 100000
# end
config.lograge.ignore_actions = ["HeartbeatController#index", "IndexController#index"]

config.lograge.base_controller_class = "ActionController::API"

Expand Down

0 comments on commit 07b92c1

Please sign in to comment.