From 2da812bd48e716af52fcf43a94a47cd750171c40 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 14 Nov 2012 19:50:18 -0800 Subject: [PATCH] Change log levels of some messages that are useful --- lib/vagrant/config/loader.rb | 4 ++-- lib/vagrant/environment.rb | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/vagrant/config/loader.rb b/lib/vagrant/config/loader.rb index 38b1ed512..097108fa9 100644 --- a/lib/vagrant/config/loader.rb +++ b/lib/vagrant/config/loader.rb @@ -41,7 +41,7 @@ module Vagrant # `set` multiple times with the same name will override any previously # set values. In this way, the last set data for a given name wins. def set(name, sources) - @logger.debug("Set #{name.inspect} = #{sources.inspect}") + @logger.info("Set #{name.inspect} = #{sources.inspect}") # Sources should be an array sources = [sources] if !sources.kind_of?(Array) @@ -72,7 +72,7 @@ module Vagrant # @return [Object] The configuration object. This is different for # each configuration version. def load(order) - @logger.debug("Loading configuration in order: #{order.inspect}") + @logger.info("Loading configuration in order: #{order.inspect}") unknown_sources = @sources.keys - order if !unknown_sources.empty? diff --git a/lib/vagrant/environment.rb b/lib/vagrant/environment.rb index 14182fb00..1987e8614 100644 --- a/lib/vagrant/environment.rb +++ b/lib/vagrant/environment.rb @@ -368,6 +368,8 @@ module Vagrant # loader is cached so that prior Vagrantfiles aren't loaded multiple # times. def initialize_config + @logger.info("Initialzing config...") + home_vagrantfile = nil root_vagrantfile = nil home_vagrantfile = find_vagrantfile(home_path) if home_path