From c5f47b2fdfdb3ea4ec5f970e010bd7f08920acda Mon Sep 17 00:00:00 2001 From: Jason Frey Date: Thu, 7 Sep 2017 10:46:40 -0400 Subject: [PATCH] Merge pull request #15945 from agrare/fix_event_catcher_log_hashes Fix event_catcher blacklisted events logging (cherry picked from commit 663651388b27e6eb3bc3ea10c1ad4185b2aacd7b) https://bugzilla.redhat.com/show_bug.cgi?id=1531146 --- .../manageiq/providers/base_manager/event_catcher/runner.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/models/manageiq/providers/base_manager/event_catcher/runner.rb b/app/models/manageiq/providers/base_manager/event_catcher/runner.rb index 9d6194141505..a6db99fb97b8 100644 --- a/app/models/manageiq/providers/base_manager/event_catcher/runner.rb +++ b/app/models/manageiq/providers/base_manager/event_catcher/runner.rb @@ -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)