Created
April 8, 2015 11:21
-
-
Save Vasu1105/275d67afa005f2fdfc9c to your computer and use it in GitHub Desktop.
adding log level to info in client.rb for linux systems
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/chef/azure/core/bootstrap_context.rb b/lib/chef/azure/core/bootstrap_context.rb | |
index b111111..f70d283 100644 | |
--- a/lib/chef/azure/core/bootstrap_context.rb | |
+++ b/lib/chef/azure/core/bootstrap_context.rb | |
@@ -24,8 +24,9 @@ class Chef | |
def config_content | |
client_rb = "" | |
- | |
+ | |
client_rb << <<-CONFIG | |
+log_level :info | |
log_location "#{@config[:log_location]}/chef-client.log" | |
chef_server_url "#{@chef_config[:chef_server_url]}" | |
validation_client_name "#{@chef_config[:validation_client_name]}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment