Reasonable log level for production


#1

Hi,

we’ve just recently upgraded from 0.9 to 0.10 and I’m a bit bewildered
by the amount of log output the client generates although we’ve kept
the log level at INFO. It looks as if it’s logging every resource it
checks for converging, regardless if they trigger actions or not.

I’d expect that behaviour from the DEBUG level; with INFO, IMHO it
should only log resources it actually executes actions for, like it
did with Chef 0.9.

Is that change in logging behaviour intentional?

Best regards,
Jochen


#2

Hi,

On Wed, May 16, 2012 at 8:37 PM, Jochen Lillich jochen@freistil.it wrote:

we’ve just recently upgraded from 0.9 to 0.10 and I’m a bit bewildered
by the amount of log output the client generates although we’ve kept
the log level at INFO. It looks as if it’s logging every resource it
checks for converging, regardless if they trigger actions or not.

when I switched from Puppet, I wondered about that, too. I finally
found out, that you can turn exactly this behavior off, by specifying
the following in client.rb / solo.rb:

verbose_logging false

Details here: http://wiki.opscode.com/display/chef/Chef+Configuration+Settings#ChefConfigurationSettings-logoutput

Best regards,
Philipp