{"action":"closed","number":7260,"pull_request":{"url":"https://api.github.com/repos/zfsonlinux/zfs/pulls/7260","id":172391392,"html_url":"https://github.com/zfsonlinux/zfs/pull/7260","diff_url":"https://github.com/zfsonlinux/zfs/pull/7260.diff","patch_url":"https://github.com/zfsonlinux/zfs/pull/7260.patch","issue_url":"https://api.github.com/repos/zfsonlinux/zfs/issues/7260","number":7260,"state":"closed","locked":false,"title":"Allow to limit zed's syslog chattiness","user":{"login":"tonyhutter","id":11469457,"avatar_url":"https://avatars0.githubusercontent.com/u/11469457?v=4","gravatar_id":"","url":"https://api.github.com/users/tonyhutter","html_url":"https://github.com/tonyhutter","followers_url":"https://api.github.com/users/tonyhutter/followers","following_url":"https://api.github.com/users/tonyhutter/following{/other_user}","gists_url":"https://api.github.com/users/tonyhutter/gists{/gist_id}","starred_url":"https://api.github.com/users/tonyhutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonyhutter/subscriptions","organizations_url":"https://api.github.com/users/tonyhutter/orgs","repos_url":"https://api.github.com/users/tonyhutter/repos","events_url":"https://api.github.com/users/tonyhutter/events{/privacy}","received_events_url":"https://api.github.com/users/tonyhutter/received_events","type":"User","site_admin":false},"body":"This is a revival of https://github.com/zfsonlinux/zfs/pull/7007.  I rebased it on master and added a test case.\r\n### Description\r\nSome usage patterns like send/recv of replication streams can produce a large number of events. In such a case, the current all-syslog.sh zedlet will hold up to its name, and flood the logs with mostly redundant information. Two mitigate this situation, this changeset introduces to new variables\r\n`ZED_SYSLOG_SUBCLASS_INCLUDE` and `ZED_SYSLOG_SUBCLASS_EXCLUDE` to zed.rc that give more control over which event classes end up in the syslog.\r\n\r\n### Motivation and Context\r\nCloses: #6886\r\n\r\n### How Has This Been Tested?\r\nAdded test case\r\n\r\n### Types of changes\r\n<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->\r\n- [ ] Bug fix (non-breaking change which fixes an issue)\r\n- [x] New feature (non-breaking change which adds functionality)\r\n- [ ] Performance enhancement (non-breaking change which improves efficiency)\r\n- [ ] Code cleanup (non-breaking change which makes code smaller or more readable)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n- [ ] Documentation (a change to man pages or other documentation)\r\n\r\n### Checklist:\r\n<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->\r\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\r\n- [x] My code follows the ZFS on Linux code style requirements.\r\n- [ ] I have updated the documentation accordingly.\r\n- [ ] I have read the **CONTRIBUTING** document.\r\n- [ ] I have added tests to cover my changes.\r\n- [ ] All new and existing tests passed.\r\n- [ ] All commit messages are properly formatted and contain `Signed-off-by`.\r\n- [ ] Change has been approved by a ZFS on Linux member.\r\n","created_at":"2018-03-02T00:21:13Z","updated_at":"2018-03-06T23:41:53Z","closed_at":"2018-03-06T23:41:53Z","merged_at":"2018-03-06T23:41:53Z","merge_commit_sha":"639b18944a6a3483c02039621c02dac08a954a90","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/zfsonlinux/zfs/pulls/7260/commits","review_comments_url":"https://api.github.com/repos/zfsonlinux/zfs/pulls/7260/comments","review_comment_url":"https://api.github.com/repos/zfsonlinux/zfs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zfsonlinux/zfs/issues/7260/comments","statuses_url":"https://api.github.com/repos/zfsonlinux/zfs/statuses/a1730cf3e7884e8b99ec59b61dfd464209c62813","head":{"label":"tonyhutter:sc_quiescent_syslog","ref":"sc_quiescent_syslog","sha":"a1730cf3e7884e8b99ec59b61dfd464209c62813","user":{"login":"tonyhutter","id":11469457,"avatar_url":"https://avatars0.githubusercontent.com/u/11469457?v=4","gravatar_id":"","url":"https://api.github.com/users/tonyhutter","html_url":"https://github.com/tonyhutter","followers_url":"https://api.github.com/users/tonyhutter/followers","following_url":"https://api.github.com/users/tonyhutter/following{/other_user}","gists_url":"https://api.github.com/users/tonyhutter/gists{/gist_id}","starred_url":"https://api.github.com/users/tonyhutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonyhutter/subscriptions","organizations_url":"https://api.github.com/users/tonyhutter/orgs","repos_url":"https://api.github.com/users/tonyhutter/repos","events_url":"https://api.github.com/users/tonyhutter/events{/privacy}","received_events_url":"https://api.github.com/users/tonyhutter/received_events","type":"User","site_admin":false},"repo":{"id":52639123,"name":"zfs","full_name":"tonyhutter/zfs","owner":{"login":"tonyhutter","id":11469457,"avatar_url":"https://avatars0.githubusercontent.com/u/11469457?v=4","gravatar_id":"","url":"https://api.github.com/users/tonyhutter","html_url":"https://github.com/tonyhutter","followers_url":"https://api.github.com/users/tonyhutter/followers","following_url":"https://api.github.com/users/tonyhutter/following{/other_user}","gists_url":"https://api.github.com/users/tonyhutter/gists{/gist_id}","starred_url":"https://api.github.com/users/tonyhutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonyhutter/subscriptions","organizations_url":"https://api.github.com/users/tonyhutter/orgs","repos_url":"https://api.github.com/users/tonyhutter/repos","events_url":"https://api.github.com/users/tonyhutter/events{/privacy}","received_events_url":"https://api.github.com/users/tonyhutter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tonyhutter/zfs","description":"Native ZFS for Linux","fork":true,"url":"https://api.github.com/repos/tonyhutter/zfs","forks_url":"https://api.github.com/repos/tonyhutter/zfs/forks","keys_url":"https://api.github.com/repos/tonyhutter/zfs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tonyhutter/zfs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tonyhutter/zfs/teams","hooks_url":"https://api.github.com/repos/tonyhutter/zfs/hooks","issue_events_url":"https://api.github.com/repos/tonyhutter/zfs/issues/events{/number}","events_url":"https://api.github.com/repos/tonyhutter/zfs/events","assignees_url":"https://api.github.com/repos/tonyhutter/zfs/assignees{/user}","branches_url":"https://api.github.com/repos/tonyhutter/zfs/branches{/branch}","tags_url":"https://api.github.com/repos/tonyhutter/zfs/tags","blobs_url":"https://api.github.com/repos/tonyhutter/zfs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tonyhutter/zfs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tonyhutter/zfs/git/refs{/sha}","trees_url":"https://api.github.com/repos/tonyhutter/zfs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tonyhutter/zfs/statuses/{sha}","languages_url":"https://api.github.com/repos/tonyhutter/zfs/languages","stargazers_url":"https://api.github.com/repos/tonyhutter/zfs/stargazers","contributors_url":"https://api.github.com/repos/tonyhutter/zfs/contributors","subscribers_url":"https://api.github.com/repos/tonyhutter/zfs/subscribers","subscription_url":"https://api.github.com/repos/tonyhutter/zfs/subscription","commits_url":"https://api.github.com/repos/tonyhutter/zfs/commits{/sha}","git_commits_url":"https://api.github.com/repos/tonyhutter/zfs/git/commits{/sha}","comments_url":"https://api.github.com/repos/tonyhutter/zfs/comments{/number}","issue_comment_url":"https://api.github.com/repos/tonyhutter/zfs/issues/comments{/number}","contents_url":"https://api.github.com/repos/tonyhutter/zfs/contents/{+path}","compare_url":"https://api.github.com/repos/tonyhutter/zfs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tonyhutter/zfs/merges","archive_url":"https://api.github.com/repos/tonyhutter/zfs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tonyhutter/zfs/downloads","issues_url":"https://api.github.com/repos/tonyhutter/zfs/issues{/number}","pulls_url":"https://api.github.com/repos/tonyhutter/zfs/pulls{/number}","milestones_url":"https://api.github.com/repos/tonyhutter/zfs/milestones{/number}","notifications_url":"https://api.github.com/repos/tonyhutter/zfs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tonyhutter/zfs/labels{/name}","releases_url":"https://api.github.com/repos/tonyhutter/zfs/releases{/id}","deployments_url":"https://api.github.com/repos/tonyhutter/zfs/deployments","created_at":"2016-02-26T23:20:12Z","updated_at":"2016-02-26T23:20:16Z","pushed_at":"2018-03-06T16:52:38Z","git_url":"git://github.com/tonyhutter/zfs.git","ssh_url":"git@github.com:tonyhutter/zfs.git","clone_url":"https://github.com/tonyhutter/zfs.git","svn_url":"https://github.com/tonyhutter/zfs","homepage":"http://zfsonlinux.org/","size":44448,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"zfsonlinux:master","ref":"master","sha":"2705ebf0a74f15bb246fb899f19b0ee17aa1c4b5","user":{"login":"zfsonlinux","id":575083,"avatar_url":"https://avatars3.githubusercontent.com/u/575083?v=4","gravatar_id":"","url":"https://api.github.com/users/zfsonlinux","html_url":"https://github.com/zfsonlinux","followers_url":"https://api.github.com/users/zfsonlinux/followers","following_url":"https://api.github.com/users/zfsonlinux/following{/other_user}","gists_url":"https://api.github.com/users/zfsonlinux/gists{/gist_id}","starred_url":"https://api.github.com/users/zfsonlinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zfsonlinux/subscriptions","organizations_url":"https://api.github.com/users/zfsonlinux/orgs","repos_url":"https://api.github.com/users/zfsonlinux/repos","events_url":"https://api.github.com/users/zfsonlinux/events{/privacy}","received_events_url":"https://api.github.com/users/zfsonlinux/received_events","type":"Organization","site_admin":false},"repo":{"id":437011,"name":"zfs","full_name":"zfsonlinux/zfs","owner":{"login":"zfsonlinux","id":575083,"avatar_url":"https://avatars3.githubusercontent.com/u/575083?v=4","gravatar_id":"","url":"https://api.github.com/users/zfsonlinux","html_url":"https://github.com/zfsonlinux","followers_url":"https://api.github.com/users/zfsonlinux/followers","following_url":"https://api.github.com/users/zfsonlinux/following{/other_user}","gists_url":"https://api.github.com/users/zfsonlinux/gists{/gist_id}","starred_url":"https://api.github.com/users/zfsonlinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zfsonlinux/subscriptions","organizations_url":"https://api.github.com/users/zfsonlinux/orgs","repos_url":"https://api.github.com/users/zfsonlinux/repos","events_url":"https://api.github.com/users/zfsonlinux/events{/privacy}","received_events_url":"https://api.github.com/users/zfsonlinux/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zfsonlinux/zfs","description":"ZFS on Linux - the official OpenZFS implementation for Linux.","fork":false,"url":"https://api.github.com/repos/zfsonlinux/zfs","forks_url":"https://api.github.com/repos/zfsonlinux/zfs/forks","keys_url":"https://api.github.com/repos/zfsonlinux/zfs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zfsonlinux/zfs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zfsonlinux/zfs/teams","hooks_url":"https://api.github.com/repos/zfsonlinux/zfs/hooks","issue_events_url":"https://api.github.com/repos/zfsonlinux/zfs/issues/events{/number}","events_url":"https://api.github.com/repos/zfsonlinux/zfs/events","assignees_url":"https://api.github.com/repos/zfsonlinux/zfs/assignees{/user}","branches_url":"https://api.github.com/repos/zfsonlinux/zfs/branches{/branch}","tags_url":"https://api.github.com/repos/zfsonlinux/zfs/tags","blobs_url":"https://api.github.com/repos/zfsonlinux/zfs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zfsonlinux/zfs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zfsonlinux/zfs/git/refs{/sha}","trees_url":"https://api.github.com/repos/zfsonlinux/zfs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zfsonlinux/zfs/statuses/{sha}","languages_url":"https://api.github.com/repos/zfsonlinux/zfs/languages","stargazers_url":"https://api.github.com/repos/zfsonlinux/zfs/stargazers","contributors_url":"https://api.github.com/repos/zfsonlinux/zfs/contributors","subscribers_url":"https://api.github.com/repos/zfsonlinux/zfs/subscribers","subscription_url":"https://api.github.com/repos/zfsonlinux/zfs/subscription","commits_url":"https://api.github.com/repos/zfsonlinux/zfs/commits{/sha}","git_commits_url":"https://api.github.com/repos/zfsonlinux/zfs/git/commits{/sha}","comments_url":"https://api.github.com/repos/zfsonlinux/zfs/comments{/number}","issue_comment_url":"https://api.github.com/repos/zfsonlinux/zfs/issues/comments{/number}","contents_url":"https://api.github.com/repos/zfsonlinux/zfs/contents/{+path}","compare_url":"https://api.github.com/repos/zfsonlinux/zfs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zfsonlinux/zfs/merges","archive_url":"https://api.github.com/repos/zfsonlinux/zfs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zfsonlinux/zfs/downloads","issues_url":"https://api.github.com/repos/zfsonlinux/zfs/issues{/number}","pulls_url":"https://api.github.com/repos/zfsonlinux/zfs/pulls{/number}","milestones_url":"https://api.github.com/repos/zfsonlinux/zfs/milestones{/number}","notifications_url":"https://api.github.com/repos/zfsonlinux/zfs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zfsonlinux/zfs/labels{/name}","releases_url":"https://api.github.com/repos/zfsonlinux/zfs/releases{/id}","deployments_url":"https://api.github.com/repos/zfsonlinux/zfs/deployments","created_at":"2009-12-14T20:20:34Z","updated_at":"2018-03-06T20:46:07Z","pushed_at":"2018-03-06T23:41:53Z","git_url":"git://github.com/zfsonlinux/zfs.git","ssh_url":"git@github.com:zfsonlinux/zfs.git","clone_url":"https://github.com/zfsonlinux/zfs.git","svn_url":"https://github.com/zfsonlinux/zfs","homepage":"http://zfsonlinux.org/","size":44159,"stargazers_count":3079,"watchers_count":3079,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":721,"mirror_url":null,"archived":false,"open_issues_count":928,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":721,"open_issues":928,"watchers":3079,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zfsonlinux/zfs/pulls/7260"},"html":{"href":"https://github.com/zfsonlinux/zfs/pull/7260"},"issue":{"href":"https://api.github.com/repos/zfsonlinux/zfs/issues/7260"},"comments":{"href":"https://api.github.com/repos/zfsonlinux/zfs/issues/7260/comments"},"review_comments":{"href":"https://api.github.com/repos/zfsonlinux/zfs/pulls/7260/comments"},"review_comment":{"href":"https://api.github.com/repos/zfsonlinux/zfs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zfsonlinux/zfs/pulls/7260/commits"},"statuses":{"href":"https://api.github.com/repos/zfsonlinux/zfs/statuses/a1730cf3e7884e8b99ec59b61dfd464209c62813"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"behlendorf","id":148917,"avatar_url":"https://avatars2.githubusercontent.com/u/148917?v=4","gravatar_id":"","url":"https://api.github.com/users/behlendorf","html_url":"https://github.com/behlendorf","followers_url":"https://api.github.com/users/behlendorf/followers","following_url":"https://api.github.com/users/behlendorf/following{/other_user}","gists_url":"https://api.github.com/users/behlendorf/gists{/gist_id}","starred_url":"https://api.github.com/users/behlendorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/behlendorf/subscriptions","organizations_url":"https://api.github.com/users/behlendorf/orgs","repos_url":"https://api.github.com/users/behlendorf/repos","events_url":"https://api.github.com/users/behlendorf/events{/privacy}","received_events_url":"https://api.github.com/users/behlendorf/received_events","type":"User","site_admin":false},"comments":2,"review_comments":6,"maintainer_can_modify":false,"commits":1,"additions":178,"deletions":7,"changed_files":9}}
{"actor":{"display_login":"behlendorf"}}