Here’s a minor knife-windows release as a gift for those needing this feature. See you next week!
knife-windows 1.8.0 release notes:
This release allows user to specify config_log_location
and config_log_level
options in config.rb/knife.rb. This sets the default log_location
and log_level
in the client.rb
file of the node being bootstrapped.
This is how you can pass the values in config.rb/knife.rb:
chef_log_level :debug
chef_log_location "C:/chef.log" # be sure that the path exists