Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chef zero outputs too much information for info log level #215

Closed
maxlazio opened this issue Apr 22, 2016 · 3 comments
Closed

Chef zero outputs too much information for info log level #215

maxlazio opened this issue Apr 22, 2016 · 3 comments
Labels
Expeditor: Skip Version Bump Used to skip built_in:bump_version

Comments

@maxlazio
Copy link
Contributor

Hi all,

I have a question about a change introduced with #199 . During some refactoring there the verbosity of the chef-zero run changed, like in this line.
This will show quite a lot of information like:

[2016-04-21T10:21:49+00:00] INFO: GET /organizations/chef/nodes/organization
[2016-04-21T10:21:49+00:00] INFO: #<ChefZero::RestErrorResponse: 404: Object not found: chefzero://localhost:8889/nodes/hostname>

and quite a lot of "--- END RESPONSE ---" "--- PUT BODY ---" and so on.

I am curious if this was done on purpose or was it an oversight? Since I am using chef-client -z with client.rb configuration file, I don't suppose there is an easy way to specify a different log level for chef-zero?

@stevendanna
Copy link
Contributor

I've moved what I see as one of the worse offenders of excess logging to the debug log level:

#216

But I would be 👍 on something that allows us to have better control over the chef-zero log level when running chef-client -z

@maxlazio
Copy link
Contributor Author

Thanks for the quickfix @stevendanna!

When the time permits, will take a look at what can be done with log level of chef-zero when using chef-client -z.

@stanhu
Copy link
Contributor

stanhu commented Jul 6, 2016

Can we also demote this line to debug?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Expeditor: Skip Version Bump Used to skip built_in:bump_version
Projects
None yet
Development

No branches or pull requests

4 participants