Skip to content

Commit

Permalink
Add requester info to log message
Browse files Browse the repository at this point in the history
  • Loading branch information
d-m-u committed Sep 4, 2018
1 parent 55bf4ee commit ae51ec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/mixins/retirement_mixin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,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

Expand Down

0 comments on commit ae51ec0

Please sign in to comment.