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

Improve debug logging in multiple plugins #935

Merged
merged 1 commit into from
Dec 22, 2016
Merged

Improve debug logging in multiple plugins #935

merged 1 commit into from
Dec 22, 2016

Conversation

tas50
Copy link
Contributor

@tas50 tas50 commented Dec 21, 2016

Gracefully fail in virtual box
Include plugin name in more logs
Be consistent in the log output format
Help figure out how Virtualization systems were detected with logging

end
end
rescue Ohai::Exceptions::Exec
Ohai::Log.debug('Plugin Virtualbox: Could not shell_out "VBoxControl guestproperty enumerate". Skipping data')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"execute" rather than "shell_out"?

Gracefully fail in virtual box
Include plugin name in more logs
Be consistent in the log output format
Help figure out how Virtualization systems were detected with logging

Signed-off-by: Tim Smith <tsmith@chef.io>
@tas50 tas50 merged commit 22958e3 into master Dec 22, 2016
@tas50 tas50 deleted the better_logging branch December 22, 2016 18:05
@tas50 tas50 changed the title Better debug logging Improve debug logging in multiple plugins Jan 23, 2017
@thommay thommay added Type: Enhancement Adds new functionality. and removed Enhancement labels Jan 24, 2017
@chef chef locked and limited conversation to collaborators Nov 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Enhancement Adds new functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants