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

Deprecation warnings in client.log #8291

robnasby opened this Issue Mar 12, 2019 · 0 comments


None yet
1 participant
Copy link

robnasby commented Mar 12, 2019

Describe the Enhancement:

All deprecation warnings are recorded in the client.log file, for easy querying in log aggregation systems .

Describe the Need:

Teams responsible for maintaining Chef in an organization can easily identify deprecated features in use.

Current Alternative

No easy work-around. The only obvious alternative is to capture the console output from chef-client.

Can We Help You Implement This?:

I would be happy to work on this enhancement, but it would be helpful to get hints on where these deprecation warnings originate from.


The following deprecation warnings only appear on the console, regardless of the log_level specified:

Deprecated features used!
  Resource windows_auto_run from a cookbook is overriding the resource from the client. Please upgrade your cookbook or remove the cookbook from your run_list before the next major release of Chef. at 1 location:
    - C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/log.rb:51:in `caller_location'
   See for further details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.