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
(cherry picked from commit 6636513)

https://bugzilla.redhat.com/show_bug.cgi?id=1531146
  • Loading branch information
Fryguy authored and d-m-u committed Jun 6, 2018
1 parent 6384039 commit c5f47b2
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,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 c5f47b2

Please sign in to comment.