Hi ShyamWith knife bootstrap there is no option to set log level. I don't see why it would default to 'WARN' though..You could alway edit /opt/chef-server/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/knife/core/bootstrap_context.rb on your server, but I would not recommend it.Kr,StevenOn 10 Sep 2013, at 13:17, Shyam Goud < " target="_blank"> > wrote:ShyamRegards,I want to see the detailed execution logs while bootstrapping from workstation, right now it seems the log_level is auto in 11.4.4 ( which is converted as "WARN" ).Thanks for the reply Luis."chef-client --log-level info" needs to be run from Client Machine (Bootstrapped Machine) ?
While bootstrapping is there any way i can see the chef logs like "--log-level: info"On Tue, Sep 10, 2013 at 4:31 PM, Luis Mondesi < " target="_blank"> > wrote:Do "chef-client --help" and look for log level. I believe is "--loglevel info".That way you set the option at run time.Regards,
--A bug magnetHello All,
I want to set chef_client log_level to Info while bootstrapping. Right now i see it is set to :auto in client.rb.
I believe client.rb is pushed from chef-server to client right ? What config files on chef-server needs to be modified for changing the default log_level ?
:/etc# chef-client -vThanks in advance.
Chef: 11.4.4
:/etc# cat chef/client.rb
log_level :auto
log_location STDOUT
chef_server_url "https://chefserver.nvsd.com/"
validation_client_name "chef-validator"
node_name "controllernode.nvsd.com
Shyam
Archive powered by MHonArc 2.6.16.