diff options
author | Alex Pop <al3xpop@gmail.com> | 2014-10-04 16:28:15 -0700 |
---|---|---|
committer | Alex Pop <al3xpop@gmail.com> | 2014-10-04 16:28:15 -0700 |
commit | 0f4e1a57d4b65d35355a8c3d574b23dbb414e9e9 (patch) | |
tree | 7a807a0e041859ef9e169adddd5d5af8079411a0 /lib/chef/knife.rb | |
parent | 2fa97c49f25e16c88373e2d084d8bacd46679bd9 (diff) | |
download | chef-0f4e1a57d4b65d35355a8c3d574b23dbb414e9e9.tar.gz |
print the path to the configuration file used
Diffstat (limited to 'lib/chef/knife.rb')
-rw-r--r-- | lib/chef/knife.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/knife.rb b/lib/chef/knife.rb index 6421384f01..0c079792a4 100644 --- a/lib/chef/knife.rb +++ b/lib/chef/knife.rb @@ -164,7 +164,6 @@ class Chef def self.load_config(explicit_config_file) config_loader = WorkstationConfigLoader.new(explicit_config_file, Chef::Log) - Chef::Log.debug("Using configuration from #{config_loader.config_location}") config_loader.load ui.warn("No knife configuration file found") if config_loader.no_config_found? @@ -393,6 +392,8 @@ class Chef merge_configs apply_computed_config + # This has to be after apply_computed_config so that Mixlib::Log is configured + Chef::Log.info("Using configuration from #{config[:config_file]}") if config[:config_file] end def show_usage |