{"action":"created","comment":{"url":"https://api.github.com/repos/rsyslog/rsyslog/pulls/comments/209611035","pull_request_review_id":145655503,"id":209611035,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwOTYxMTAzNQ==","diff_hunk":"@@ -1410,6 +1417,7 @@ BEGINAbstractObjClassInit(glbl, 1, OBJ_IS_CORE_MODULE) /* class, version */\n \tCHKiRet(regCfSysLineHdlr((uchar *)\"localhostipif\", 0, eCmdHdlrGetWord, setLocalHostIPIF, NULL, NULL));\n \tCHKiRet(regCfSysLineHdlr((uchar *)\"optimizeforuniprocessor\", 0, eCmdHdlrGoneAway, NULL, NULL, NULL));\n \tCHKiRet(regCfSysLineHdlr((uchar *)\"preservefqdn\", 0, eCmdHdlrBinary, NULL, &bPreserveFQDN, NULL));\n+\tCHKiRet(regCfSysLineHdlr((uchar *)\"compactjsonstring\", 0, eCmdHdlrBinary, NULL, &bCompactJsonString, NULL));","path":"runtime/glbl.c","position":53,"original_position":53,"commit_id":"ca3d3a5c448a963931375e983228b022f092caeb","original_commit_id":"ca3d3a5c448a963931375e983228b022f092caeb","user":{"login":"snaix","id":6660768,"node_id":"MDQ6VXNlcjY2NjA3Njg=","avatar_url":"https://avatars3.githubusercontent.com/u/6660768?v=4","gravatar_id":"","url":"https://api.github.com/users/snaix","html_url":"https://github.com/snaix","followers_url":"https://api.github.com/users/snaix/followers","following_url":"https://api.github.com/users/snaix/following{/other_user}","gists_url":"https://api.github.com/users/snaix/gists{/gist_id}","starred_url":"https://api.github.com/users/snaix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snaix/subscriptions","organizations_url":"https://api.github.com/users/snaix/orgs","repos_url":"https://api.github.com/users/snaix/repos","events_url":"https://api.github.com/users/snaix/events{/privacy}","received_events_url":"https://api.github.com/users/snaix/received_events","type":"User","site_admin":false},"body":"So do you mean just use global() only?","created_at":"2018-08-13T13:37:12Z","updated_at":"2018-08-13T13:37:12Z","html_url":"https://github.com/rsyslog/rsyslog/pull/2925#discussion_r209611035","pull_request_url":"https://api.github.com/repos/rsyslog/rsyslog/pulls/2925","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/rsyslog/rsyslog/pulls/comments/209611035"},"html":{"href":"https://github.com/rsyslog/rsyslog/pull/2925#discussion_r209611035"},"pull_request":{"href":"https://api.github.com/repos/rsyslog/rsyslog/pulls/2925"}},"in_reply_to_id":209605090},"pull_request":{"url":"https://api.github.com/repos/rsyslog/rsyslog/pulls/2925","id":207973787,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3OTczNzg3","html_url":"https://github.com/rsyslog/rsyslog/pull/2925","diff_url":"https://github.com/rsyslog/rsyslog/pull/2925.diff","patch_url":"https://github.com/rsyslog/rsyslog/pull/2925.patch","issue_url":"https://api.github.com/repos/rsyslog/rsyslog/issues/2925","number":2925,"state":"open","locked":false,"title":"add $compactJsonString flag for a compact json variable export, but n…","user":{"login":"snaix","id":6660768,"node_id":"MDQ6VXNlcjY2NjA3Njg=","avatar_url":"https://avatars3.githubusercontent.com/u/6660768?v=4","gravatar_id":"","url":"https://api.github.com/users/snaix","html_url":"https://github.com/snaix","followers_url":"https://api.github.com/users/snaix/followers","following_url":"https://api.github.com/users/snaix/following{/other_user}","gists_url":"https://api.github.com/users/snaix/gists{/gist_id}","starred_url":"https://api.github.com/users/snaix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snaix/subscriptions","organizations_url":"https://api.github.com/users/snaix/orgs","repos_url":"https://api.github.com/users/snaix/repos","events_url":"https://api.github.com/users/snaix/events{/privacy}","received_events_url":"https://api.github.com/users/snaix/received_events","type":"User","site_admin":false},"body":"…ot a space separated one.\r\na PR for #2913\r\nAdd a flag, named compactJsonString to export json variable with a compact format but not a spaced.\r\n\r\n<!--\r\nLEGAL GDPR NOTICE:\r\nAccording to the European data protection laws (GDPR), we would like to make you\r\naware that contributing to rsyslog via git will permanently store the\r\nname and email address you provide as well as the actual commit and the\r\ntime and date you made it inside git's version history. This is inevitable,\r\nbecause it is a main feature git. If you are concerned about your\r\nprivacy, we strongly recommend to use\r\n\r\n--author \"anonymous <gdpr@example.com>\"\r\n\r\ntogether with your commit. Also please do NOT sign your commit in this case,\r\nas that potentially could lead back to you. Please note that if you use your\r\nreal identity, the GDPR grants you the right to have this information removed\r\nlater. However, we have valid reasons why we cannot remove that information\r\nlater on. The reasons are:\r\n\r\n* this would break git history and make future merges unworkable\r\n* the rsyslog projects has legitimate interest to keep a permanent record of the\r\n  contributor identity, once given, for\r\n  - copyright verification\r\n  - being able to provide proof should a malicious commit be made\r\n\r\nPlease also note that your commit is public and as such will potentially be\r\nprocessed by many third-parties. Git's distributed nature makes it impossible\r\nto track where exactly your commit, and thus your personal data, will be stored\r\nand be processed. If you would not like to accept this risk, please do either\r\ncommit anonymously or refrain from contributing to the rsyslog project.\r\n-->\r\n","created_at":"2018-08-13T13:15:07Z","updated_at":"2018-08-13T13:37:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"81310cfb4ef406d3f536ad0eee31c0f9ddd7687d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rsyslog/rsyslog/pulls/2925/commits","review_comments_url":"https://api.github.com/repos/rsyslog/rsyslog/pulls/2925/comments","review_comment_url":"https://api.github.com/repos/rsyslog/rsyslog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rsyslog/rsyslog/issues/2925/comments","statuses_url":"https://api.github.com/repos/rsyslog/rsyslog/statuses/ca3d3a5c448a963931375e983228b022f092caeb","head":{"label":"snaix:compact_json","ref":"compact_json","sha":"ca3d3a5c448a963931375e983228b022f092caeb","user":{"login":"snaix","id":6660768,"node_id":"MDQ6VXNlcjY2NjA3Njg=","avatar_url":"https://avatars3.githubusercontent.com/u/6660768?v=4","gravatar_id":"","url":"https://api.github.com/users/snaix","html_url":"https://github.com/snaix","followers_url":"https://api.github.com/users/snaix/followers","following_url":"https://api.github.com/users/snaix/following{/other_user}","gists_url":"https://api.github.com/users/snaix/gists{/gist_id}","starred_url":"https://api.github.com/users/snaix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snaix/subscriptions","organizations_url":"https://api.github.com/users/snaix/orgs","repos_url":"https://api.github.com/users/snaix/repos","events_url":"https://api.github.com/users/snaix/events{/privacy}","received_events_url":"https://api.github.com/users/snaix/received_events","type":"User","site_admin":false},"repo":{"id":143885197,"node_id":"MDEwOlJlcG9zaXRvcnkxNDM4ODUxOTc=","name":"rsyslog","full_name":"snaix/rsyslog","owner":{"login":"snaix","id":6660768,"node_id":"MDQ6VXNlcjY2NjA3Njg=","avatar_url":"https://avatars3.githubusercontent.com/u/6660768?v=4","gravatar_id":"","url":"https://api.github.com/users/snaix","html_url":"https://github.com/snaix","followers_url":"https://api.github.com/users/snaix/followers","following_url":"https://api.github.com/users/snaix/following{/other_user}","gists_url":"https://api.github.com/users/snaix/gists{/gist_id}","starred_url":"https://api.github.com/users/snaix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snaix/subscriptions","organizations_url":"https://api.github.com/users/snaix/orgs","repos_url":"https://api.github.com/users/snaix/repos","events_url":"https://api.github.com/users/snaix/events{/privacy}","received_events_url":"https://api.github.com/users/snaix/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/snaix/rsyslog","description":"a Rocket-fast SYStem for LOG processing","fork":true,"url":"https://api.github.com/repos/snaix/rsyslog","forks_url":"https://api.github.com/repos/snaix/rsyslog/forks","keys_url":"https://api.github.com/repos/snaix/rsyslog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/snaix/rsyslog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/snaix/rsyslog/teams","hooks_url":"https://api.github.com/repos/snaix/rsyslog/hooks","issue_events_url":"https://api.github.com/repos/snaix/rsyslog/issues/events{/number}","events_url":"https://api.github.com/repos/snaix/rsyslog/events","assignees_url":"https://api.github.com/repos/snaix/rsyslog/assignees{/user}","branches_url":"https://api.github.com/repos/snaix/rsyslog/branches{/branch}","tags_url":"https://api.github.com/repos/snaix/rsyslog/tags","blobs_url":"https://api.github.com/repos/snaix/rsyslog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/snaix/rsyslog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/snaix/rsyslog/git/refs{/sha}","trees_url":"https://api.github.com/repos/snaix/rsyslog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/snaix/rsyslog/statuses/{sha}","languages_url":"https://api.github.com/repos/snaix/rsyslog/languages","stargazers_url":"https://api.github.com/repos/snaix/rsyslog/stargazers","contributors_url":"https://api.github.com/repos/snaix/rsyslog/contributors","subscribers_url":"https://api.github.com/repos/snaix/rsyslog/subscribers","subscription_url":"https://api.github.com/repos/snaix/rsyslog/subscription","commits_url":"https://api.github.com/repos/snaix/rsyslog/commits{/sha}","git_commits_url":"https://api.github.com/repos/snaix/rsyslog/git/commits{/sha}","comments_url":"https://api.github.com/repos/snaix/rsyslog/comments{/number}","issue_comment_url":"https://api.github.com/repos/snaix/rsyslog/issues/comments{/number}","contents_url":"https://api.github.com/repos/snaix/rsyslog/contents/{+path}","compare_url":"https://api.github.com/repos/snaix/rsyslog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/snaix/rsyslog/merges","archive_url":"https://api.github.com/repos/snaix/rsyslog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/snaix/rsyslog/downloads","issues_url":"https://api.github.com/repos/snaix/rsyslog/issues{/number}","pulls_url":"https://api.github.com/repos/snaix/rsyslog/pulls{/number}","milestones_url":"https://api.github.com/repos/snaix/rsyslog/milestones{/number}","notifications_url":"https://api.github.com/repos/snaix/rsyslog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/snaix/rsyslog/labels{/name}","releases_url":"https://api.github.com/repos/snaix/rsyslog/releases{/id}","deployments_url":"https://api.github.com/repos/snaix/rsyslog/deployments","created_at":"2018-08-07T14:29:34Z","updated_at":"2018-08-13T11:21:59Z","pushed_at":"2018-08-13T13:10:27Z","git_url":"git://github.com/snaix/rsyslog.git","ssh_url":"git@github.com:snaix/rsyslog.git","clone_url":"https://github.com/snaix/rsyslog.git","svn_url":"https://github.com/snaix/rsyslog","homepage":"http://www.rsyslog.com","size":50360,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rsyslog:master","ref":"master","sha":"f926afb846d56059934e49f9022995a5f46eb56a","user":{"login":"rsyslog","id":6178456,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxNzg0NTY=","avatar_url":"https://avatars2.githubusercontent.com/u/6178456?v=4","gravatar_id":"","url":"https://api.github.com/users/rsyslog","html_url":"https://github.com/rsyslog","followers_url":"https://api.github.com/users/rsyslog/followers","following_url":"https://api.github.com/users/rsyslog/following{/other_user}","gists_url":"https://api.github.com/users/rsyslog/gists{/gist_id}","starred_url":"https://api.github.com/users/rsyslog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsyslog/subscriptions","organizations_url":"https://api.github.com/users/rsyslog/orgs","repos_url":"https://api.github.com/users/rsyslog/repos","events_url":"https://api.github.com/users/rsyslog/events{/privacy}","received_events_url":"https://api.github.com/users/rsyslog/received_events","type":"Organization","site_admin":false},"repo":{"id":10458362,"node_id":"MDEwOlJlcG9zaXRvcnkxMDQ1ODM2Mg==","name":"rsyslog","full_name":"rsyslog/rsyslog","owner":{"login":"rsyslog","id":6178456,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxNzg0NTY=","avatar_url":"https://avatars2.githubusercontent.com/u/6178456?v=4","gravatar_id":"","url":"https://api.github.com/users/rsyslog","html_url":"https://github.com/rsyslog","followers_url":"https://api.github.com/users/rsyslog/followers","following_url":"https://api.github.com/users/rsyslog/following{/other_user}","gists_url":"https://api.github.com/users/rsyslog/gists{/gist_id}","starred_url":"https://api.github.com/users/rsyslog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsyslog/subscriptions","organizations_url":"https://api.github.com/users/rsyslog/orgs","repos_url":"https://api.github.com/users/rsyslog/repos","events_url":"https://api.github.com/users/rsyslog/events{/privacy}","received_events_url":"https://api.github.com/users/rsyslog/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rsyslog/rsyslog","description":"a Rocket-fast SYStem for LOG processing","fork":false,"url":"https://api.github.com/repos/rsyslog/rsyslog","forks_url":"https://api.github.com/repos/rsyslog/rsyslog/forks","keys_url":"https://api.github.com/repos/rsyslog/rsyslog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rsyslog/rsyslog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rsyslog/rsyslog/teams","hooks_url":"https://api.github.com/repos/rsyslog/rsyslog/hooks","issue_events_url":"https://api.github.com/repos/rsyslog/rsyslog/issues/events{/number}","events_url":"https://api.github.com/repos/rsyslog/rsyslog/events","assignees_url":"https://api.github.com/repos/rsyslog/rsyslog/assignees{/user}","branches_url":"https://api.github.com/repos/rsyslog/rsyslog/branches{/branch}","tags_url":"https://api.github.com/repos/rsyslog/rsyslog/tags","blobs_url":"https://api.github.com/repos/rsyslog/rsyslog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rsyslog/rsyslog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rsyslog/rsyslog/git/refs{/sha}","trees_url":"https://api.github.com/repos/rsyslog/rsyslog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rsyslog/rsyslog/statuses/{sha}","languages_url":"https://api.github.com/repos/rsyslog/rsyslog/languages","stargazers_url":"https://api.github.com/repos/rsyslog/rsyslog/stargazers","contributors_url":"https://api.github.com/repos/rsyslog/rsyslog/contributors","subscribers_url":"https://api.github.com/repos/rsyslog/rsyslog/subscribers","subscription_url":"https://api.github.com/repos/rsyslog/rsyslog/subscription","commits_url":"https://api.github.com/repos/rsyslog/rsyslog/commits{/sha}","git_commits_url":"https://api.github.com/repos/rsyslog/rsyslog/git/commits{/sha}","comments_url":"https://api.github.com/repos/rsyslog/rsyslog/comments{/number}","issue_comment_url":"https://api.github.com/repos/rsyslog/rsyslog/issues/comments{/number}","contents_url":"https://api.github.com/repos/rsyslog/rsyslog/contents/{+path}","compare_url":"https://api.github.com/repos/rsyslog/rsyslog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rsyslog/rsyslog/merges","archive_url":"https://api.github.com/repos/rsyslog/rsyslog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rsyslog/rsyslog/downloads","issues_url":"https://api.github.com/repos/rsyslog/rsyslog/issues{/number}","pulls_url":"https://api.github.com/repos/rsyslog/rsyslog/pulls{/number}","milestones_url":"https://api.github.com/repos/rsyslog/rsyslog/milestones{/number}","notifications_url":"https://api.github.com/repos/rsyslog/rsyslog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rsyslog/rsyslog/labels{/name}","releases_url":"https://api.github.com/repos/rsyslog/rsyslog/releases{/id}","deployments_url":"https://api.github.com/repos/rsyslog/rsyslog/deployments","created_at":"2013-06-03T15:57:55Z","updated_at":"2018-08-13T13:33:08Z","pushed_at":"2018-08-13T13:33:04Z","git_url":"git://github.com/rsyslog/rsyslog.git","ssh_url":"git@github.com:rsyslog/rsyslog.git","clone_url":"https://github.com/rsyslog/rsyslog.git","svn_url":"https://github.com/rsyslog/rsyslog","homepage":"http://www.rsyslog.com","size":50380,"stargazers_count":781,"watchers_count":781,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":374,"mirror_url":null,"archived":false,"open_issues_count":317,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":374,"open_issues":317,"watchers":781,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rsyslog/rsyslog/pulls/2925"},"html":{"href":"https://github.com/rsyslog/rsyslog/pull/2925"},"issue":{"href":"https://api.github.com/repos/rsyslog/rsyslog/issues/2925"},"comments":{"href":"https://api.github.com/repos/rsyslog/rsyslog/issues/2925/comments"},"review_comments":{"href":"https://api.github.com/repos/rsyslog/rsyslog/pulls/2925/comments"},"review_comment":{"href":"https://api.github.com/repos/rsyslog/rsyslog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rsyslog/rsyslog/pulls/2925/commits"},"statuses":{"href":"https://api.github.com/repos/rsyslog/rsyslog/statuses/ca3d3a5c448a963931375e983228b022f092caeb"}},"author_association":"NONE"}}
{"actor":{"display_login":"snaix"}}