{"action":"created","issue":{"url":"https://api.github.com/repos/chef/chef/issues/5041","repository_url":"https://api.github.com/repos/chef/chef","labels_url":"https://api.github.com/repos/chef/chef/issues/5041/labels{/name}","comments_url":"https://api.github.com/repos/chef/chef/issues/5041/comments","events_url":"https://api.github.com/repos/chef/chef/issues/5041/events","html_url":"https://github.com/chef/chef/pull/5041","id":161322285,"number":5041,"title":"FLOW-335: Add a counterpart to \"skipped due to only_if/not_if\" so users know that a  resource had a guard that allowed resource execution.","user":{"login":"randomcamel","id":400783,"avatar_url":"https://avatars.githubusercontent.com/u/400783?v=3","gravatar_id":"","url":"https://api.github.com/users/randomcamel","html_url":"https://github.com/randomcamel","followers_url":"https://api.github.com/users/randomcamel/followers","following_url":"https://api.github.com/users/randomcamel/following{/other_user}","gists_url":"https://api.github.com/users/randomcamel/gists{/gist_id}","starred_url":"https://api.github.com/users/randomcamel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/randomcamel/subscriptions","organizations_url":"https://api.github.com/users/randomcamel/orgs","repos_url":"https://api.github.com/users/randomcamel/repos","events_url":"https://api.github.com/users/randomcamel/events{/privacy}","received_events_url":"https://api.github.com/users/randomcamel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chef/chef/labels/Signed%20CLA","name":"Signed CLA","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-06-21T00:00:34Z","updated_at":"2016-07-15T22:20:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chef/chef/pulls/5041","html_url":"https://github.com/chef/chef/pull/5041","diff_url":"https://github.com/chef/chef/pull/5041.diff","patch_url":"https://github.com/chef/chef/pull/5041.patch"},"body":"This issue came from [user feedback](https://feedback.chef.io/forums/301644-chef-product-feedback/suggestions/10728330-logging-for-guard-resource-should-show-whether-t).  Here's part of the blurb from the internal ticket on it:\r\n\r\n> As a person who writes Chef Cookbooks containing guard resources, I should be able to tell from reading the log whether an evaluated guard resource was inclusive (only_if) or exclusive (not_if), so that I can better understand the actions taken by my code."},"comment":{"url":"https://api.github.com/repos/chef/chef/issues/comments/233083143","html_url":"https://github.com/chef/chef/pull/5041#issuecomment-233083143","issue_url":"https://api.github.com/repos/chef/chef/issues/5041","id":233083143,"user":{"login":"coderanger","id":128243,"avatar_url":"https://avatars.githubusercontent.com/u/128243?v=3","gravatar_id":"","url":"https://api.github.com/users/coderanger","html_url":"https://github.com/coderanger","followers_url":"https://api.github.com/users/coderanger/followers","following_url":"https://api.github.com/users/coderanger/following{/other_user}","gists_url":"https://api.github.com/users/coderanger/gists{/gist_id}","starred_url":"https://api.github.com/users/coderanger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coderanger/subscriptions","organizations_url":"https://api.github.com/users/coderanger/orgs","repos_url":"https://api.github.com/users/coderanger/repos","events_url":"https://api.github.com/users/coderanger/events{/privacy}","received_events_url":"https://api.github.com/users/coderanger/received_events","type":"User","site_admin":false},"created_at":"2016-07-15T22:20:26Z","updated_at":"2016-07-15T22:20:26Z","body":"The problem is that formatter output doesn't have levels, that's only for logging."}}
{"actor":{"display_login":"coderanger"}}