title: Setting the Chef log level in knife ec2 when creating a server
body: <p>I'm looking for the correct way to set chef-client's log level when creating a server using knife ec2.</p>
  
  <p>My initial thought was setting the log level configuration in my knife.rb file like this:</p>
  
  <pre><code>log_level                :debug
  </code></pre>
  
  <p>This didn't result in any visible change in the log level.</p>
  
  <p>I also tried turning on the -VV option in knife ec2, but that just results in verbose output from knife ec2 itself.</p>
  
  <p>When I run chef-client directly after logging onto the server, I can get debug information with no problems using:</p>
  
  <pre><code>sudo chef-client -l debug
  </code></pre>
  
  <p>That would be sufficient, but I'm investigating an underlying problem that only occurs on the initial server bootstrap.</p>