log_level :info
log_location STDOUT
node_name "test"
client_key "C:/Python27/Lib/site"
validation_key "/nonexist"
chef_server_url ""
I've got knife.rb file which is exposing the client key to the output and i want the logging to stop to prevent this. Is there any way I can set this log location to NULL?
as you can see, you are using
STDOUTruby predefined global variable, switching it withFile::NULLmay do the trick.here is an untested example