Change log levels of some messages that are useful

This commit is contained in:
Mitchell Hashimoto 2012-11-14 19:50:18 -08:00
parent e16010041a
commit 2da812bd48
2 changed files with 4 additions and 2 deletions

View File

@ -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?

View File

@ -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