Skip to content

Commit

Permalink
Merge pull request ManageIQ#15945 from agrare/fix_event_catcher_log_h…
Browse files Browse the repository at this point in the history
…ashes

Fix event_catcher blacklisted events logging
  • Loading branch information
Fryguy authored Sep 7, 2017
2 parents aadb3e0 + fb28b8f commit 6636513
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ def after_initialize
do_exit("EMS ID [#{@cfg[:ems_id]}] failed authentication check.", 1) unless @ems.authentication_check.first

@filtered_events = @ems.blacklisted_event_names
_log.info("#{log_prefix} Event Catcher skipping the following events:")
$log.log_hashes(@filtered_events)
_log.info("#{log_prefix} Event Catcher skipping the following events:\n#{@filtered_events.to_a.join("\n")}")

configure_event_flooding_prevention if worker_settings.try(:[], :flooding_monitor_enabled)

Expand Down

0 comments on commit 6636513

Please sign in to comment.