Skip to content

Commit

Permalink
Merge pull request #15945 from agrare/fix_event_catcher_log_hashes
Browse files Browse the repository at this point in the history
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 simaishi committed Jan 4, 2018
1 parent a7c757b commit e51d172
Showing 1 changed file with 1 addition and 2 deletions.
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 e51d172

Please sign in to comment.