chef-provisioning-ssh
chef-provisioning-ssh copied to clipboard
"can't convert "debug" to any of the Logger level constants"
I am trying to figure out the issue I posted here ( that it wont ssh to my machine) by adding log level,
:ssh_options => { :password => 'blahblah', :verbose => :debug }
but it yells at me when I try to set the log level to debug
ArgumentError
-------------
can't convert "debug" to any of the Logger level constants
Hit the same issue and while searching, I saw this post.
I also saw https://github.com/net-ssh/net-ssh/blob/master/lib/net/ssh.rb#L179-L181
Switching my config to :verbose => Logger::DEBUG
worked for me.
I believe you will need net-ssh (2.9.3.beta1)
to use the symbol :debug
-balaji