[chef] Re: Re: 10.14.4 broken output formatters?


Chronological Thread 
  • From: Daniel DeLeo < >
  • To:
  • Subject: [chef] Re: Re: 10.14.4 broken output formatters?
  • Date: Tue, 2 Oct 2012 09:28:07 -0700


On Sunday, September 30, 2012 at 6:06 PM, Joshua Timberman wrote:

You can put these in your client.rb:

log_level :fatal
formatter "min"


On Friday, September 28, 2012 at 19:53, Phil Dibowitz wrote:

I'm playing with an upgrade to 10.14.4 (from 10.12)... and I noticed that when
I use "-F min"... in addition to one "." per resource, I also get all the
normal INFO output for every resource I would normally get.

I seem to remember testing 10.14.0-rc<something> and just getting dots.

Anyone else seeing this?

--
Open Source software and tech docs Insanity Palace of Metallica

"Be who you are and say what you feel, because those who mind don't matter
and those who matter don't mind."
- Dr. Seuss

To reply to Bryan's comment about logging vs. formatter output, the reason why it works this way now is simply that output formatters are a new feature that we'd like to have people test in the real world (before they become the default in Chef 11.0). When the formatter output does become the default, we need to decide what we do about the logger output.

Presently, my opinion is that the logger output should go to a logfile[0] (though I'm open to being convinced otherwise, if there are good arguments), but for a subset of users running Chef as a non-root user additional changes are required to make chef log to a location writable by non-root users. Rather than tackle these issues up-front, we decided to leave the choice up to users who are opting-in to using the formatter feature for now.

1. e.g., chef-client -L/var/log/chef_client.log -Fmin (or -Fdoc, etc.)

-- 
Daniel DeLeo




Archive powered by MHonArc 2.6.16.

§