[chef] Re: Re: Re:


Chronological Thread 
  • From: Luis Mondesi < >
  • To: " " < >
  • Cc: " " < >
  • Subject: [chef] Re: Re: Re:
  • Date: Tue, 10 Sep 2013 07:33:53 -0400

If its only a one time thing, why don't just use --log-level debug?

--
A bug magnet
Thanks for the reply Luis.

"chef-client --log-level info" needs to be run from Client Machine (Bootstrapped Machine) ?

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" ).
While bootstrapping is there any way i can see the chef logs like "--log-level: info"

Regards,
Shyam




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 magnet
Hello 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 -v
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
Thanks in advance.
Shyam




Archive powered by MHonArc 2.6.16.

§