From 04b8cc64a890f030f26a2d9abcd613841bcdc5a1 Mon Sep 17 00:00:00 2001 From: d-m-u Date: Thu, 23 Aug 2018 16:02:18 -0400 Subject: [PATCH] Add requester to raise_retirement_event log message --- app/models/mixins/retirement_mixin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/mixins/retirement_mixin.rb b/app/models/mixins/retirement_mixin.rb index 3064fcb652b..b683991cd31 100644 --- a/app/models/mixins/retirement_mixin.rb +++ b/app/models/mixins/retirement_mixin.rb @@ -203,7 +203,7 @@ def retired_event_name def raise_retirement_event(event_name, requester = nil) requester ||= User.current_user.try(:userid) q_options = retire_queue_options - $log.info("Raising Retirement Event for [#{name}] with queue options: #{q_options.inspect}") + $log.info("Requester [#{requester}] raising Retirement Event for [#{name}] with queue options: #{q_options.inspect}") MiqEvent.raise_evm_event(self, event_name, setup_event_hash(requester), q_options) end