From d1a26bf8ca2c68f7ff29b64301eb43c61a384e76 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 7 May 2014 17:21:17 -0700 Subject: [PATCH] core: add more logging to check box outdated --- lib/vagrant/action/builtin/box_check_outdated.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/vagrant/action/builtin/box_check_outdated.rb b/lib/vagrant/action/builtin/box_check_outdated.rb index 1b8aafdc8..cee8c6877 100644 --- a/lib/vagrant/action/builtin/box_check_outdated.rb +++ b/lib/vagrant/action/builtin/box_check_outdated.rb @@ -18,6 +18,8 @@ module Vagrant if !env[:box_outdated_force] if !machine.config.vm.box_check_update + @logger.debug( + "Not checking for update: no force and no update config") return @app.call(env) end end @@ -25,6 +27,7 @@ module Vagrant if !machine.box # We don't have a box. Just ignore, we can't check for # outdated... + @logger.warn("Not checking for update, no box") return @app.call(env) end