From dfbcebef0ba82a14cef9791574bb5fa6e45b0919 Mon Sep 17 00:00:00 2001 From: Paul Hinze Date: Sat, 24 Jan 2015 09:59:48 -0800 Subject: [PATCH] core: log action name to info I found this output to be very helpful in debugging an action hook problem in a plugin. problem. I'm not sure why the callable_id is useful (seem to always show up as an instance of `Builder` or `Warden` for me), but I left it in there just in case it's useful to someone. --- lib/vagrant/action/runner.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/action/runner.rb b/lib/vagrant/action/runner.rb index bfb187709..8799a8d7f 100644 --- a/lib/vagrant/action/runner.rb +++ b/lib/vagrant/action/runner.rb @@ -62,7 +62,7 @@ module Vagrant end # We place a process lock around every action that is called - @logger.info("Running action: #{callable_id}") + @logger.info("Running action: #{environment[:action_name]} #{callable_id}") Util::Busy.busy(int_callback) { callable.call(environment) } # Return the environment in case there are things in there that