We are running chef client 12.0.3 on a CentOS 7 server.
We have noticed that the ‘client.rb’ file included no logging entries,
and so nothing was logged of the chef-client runs. By setting the
’log_file’ attribute, we now have a log file created (and the relevant
entry in the client.rb file).
However, it seems that the logging level is defaulting to ‘warn’, and we
cannot see how to change this to ‘info’.
From https://github.com/opscode-cookbooks/chef-client it says that the
’log_level’ attribute has been deprecated/replaced: ‘Not set anymore,
use the default log level and output formatting from Chef 11.’
Does this mean that we cannot change the log level? If I have
misunderstood, then how do we alter the log level?
John Horne Tel: +44 (0)1752 587287
Plymouth University, UK