{"action":"created","comment":{"url":"https://api.github.com/repos/douban/libmc/pulls/comments/34012255","id":34012255,"diff_hunk":"@@ -77,10 +85,15 @@ void printBacktrace();\n   __VOID_CAST(0) \\\n )\n #else\n+\n+#if LOG_LEVEL >= MC_LOG_LEVEL_DEBUG","path":"include/Common.h","position":20,"original_position":20,"commit_id":"250199761a4540a908b375a07b802508a6877ef5","original_commit_id":"250199761a4540a908b375a07b802508a6877ef5","user":{"login":"mckelvin","id":865677,"avatar_url":"https://avatars.githubusercontent.com/u/865677?v=3","gravatar_id":"","url":"https://api.github.com/users/mckelvin","html_url":"https://github.com/mckelvin","followers_url":"https://api.github.com/users/mckelvin/followers","following_url":"https://api.github.com/users/mckelvin/following{/other_user}","gists_url":"https://api.github.com/users/mckelvin/gists{/gist_id}","starred_url":"https://api.github.com/users/mckelvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mckelvin/subscriptions","organizations_url":"https://api.github.com/users/mckelvin/orgs","repos_url":"https://api.github.com/users/mckelvin/repos","events_url":"https://api.github.com/users/mckelvin/events{/privacy}","received_events_url":"https://api.github.com/users/mckelvin/received_events","type":"User","site_admin":false},"body":"应该是 `MC_LOG_LEVEL`，我漏了。","created_at":"2015-07-07T07:00:46Z","updated_at":"2015-07-07T07:00:46Z","html_url":"https://github.com/douban/libmc/pull/18#discussion_r34012255","pull_request_url":"https://api.github.com/repos/douban/libmc/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/douban/libmc/pulls/comments/34012255"},"html":{"href":"https://github.com/douban/libmc/pull/18#discussion_r34012255"},"pull_request":{"href":"https://api.github.com/repos/douban/libmc/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/douban/libmc/pulls/18","id":39339229,"html_url":"https://github.com/douban/libmc/pull/18","diff_url":"https://github.com/douban/libmc/pull/18.diff","patch_url":"https://github.com/douban/libmc/pull/18.patch","issue_url":"https://api.github.com/repos/douban/libmc/issues/18","number":18,"state":"open","locked":false,"title":"Mute logging output of level debug, info, warn","user":{"login":"mckelvin","id":865677,"avatar_url":"https://avatars.githubusercontent.com/u/865677?v=3","gravatar_id":"","url":"https://api.github.com/users/mckelvin","html_url":"https://github.com/mckelvin","followers_url":"https://api.github.com/users/mckelvin/followers","following_url":"https://api.github.com/users/mckelvin/following{/other_user}","gists_url":"https://api.github.com/users/mckelvin/gists{/gist_id}","starred_url":"https://api.github.com/users/mckelvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mckelvin/subscriptions","organizations_url":"https://api.github.com/users/mckelvin/orgs","repos_url":"https://api.github.com/users/mckelvin/repos","events_url":"https://api.github.com/users/mckelvin/events{/privacy}","received_events_url":"https://api.github.com/users/mckelvin/received_events","type":"User","site_admin":false},"body":"Sometime a connection may be broken temporally, and it is still in our expectation. Since libmc is stable now, I'm going to decrease verbosity. cc @verycb\r\n\r\n```\r\n[xx1] [libmc] [INFO] [src/Connection.cpp:174] Connection xxx12:11211 is back to live at 1435816085\r\n[xx1] [libmc] [INFO] [src/Connection.cpp:174] Connection xxx6:11211 is back to live at 1435816085\r\n```\r\n\r\n@zzl0 @youngsofun Please review.","created_at":"2015-07-07T06:39:09Z","updated_at":"2015-07-07T07:00:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eaebb2e43bcbbee565e2d5d8cf430b2fe4b1709f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/douban/libmc/pulls/18/commits","review_comments_url":"https://api.github.com/repos/douban/libmc/pulls/18/comments","review_comment_url":"https://api.github.com/repos/douban/libmc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/douban/libmc/issues/18/comments","statuses_url":"https://api.github.com/repos/douban/libmc/statuses/250199761a4540a908b375a07b802508a6877ef5","head":{"label":"mckelvin:log","ref":"log","sha":"250199761a4540a908b375a07b802508a6877ef5","user":{"login":"mckelvin","id":865677,"avatar_url":"https://avatars.githubusercontent.com/u/865677?v=3","gravatar_id":"","url":"https://api.github.com/users/mckelvin","html_url":"https://github.com/mckelvin","followers_url":"https://api.github.com/users/mckelvin/followers","following_url":"https://api.github.com/users/mckelvin/following{/other_user}","gists_url":"https://api.github.com/users/mckelvin/gists{/gist_id}","starred_url":"https://api.github.com/users/mckelvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mckelvin/subscriptions","organizations_url":"https://api.github.com/users/mckelvin/orgs","repos_url":"https://api.github.com/users/mckelvin/repos","events_url":"https://api.github.com/users/mckelvin/events{/privacy}","received_events_url":"https://api.github.com/users/mckelvin/received_events","type":"User","site_admin":false},"repo":{"id":33363738,"name":"libmc","full_name":"mckelvin/libmc","owner":{"login":"mckelvin","id":865677,"avatar_url":"https://avatars.githubusercontent.com/u/865677?v=3","gravatar_id":"","url":"https://api.github.com/users/mckelvin","html_url":"https://github.com/mckelvin","followers_url":"https://api.github.com/users/mckelvin/followers","following_url":"https://api.github.com/users/mckelvin/following{/other_user}","gists_url":"https://api.github.com/users/mckelvin/gists{/gist_id}","starred_url":"https://api.github.com/users/mckelvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mckelvin/subscriptions","organizations_url":"https://api.github.com/users/mckelvin/orgs","repos_url":"https://api.github.com/users/mckelvin/repos","events_url":"https://api.github.com/users/mckelvin/events{/privacy}","received_events_url":"https://api.github.com/users/mckelvin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mckelvin/libmc","description":"Yet another memcached client for Python","fork":true,"url":"https://api.github.com/repos/mckelvin/libmc","forks_url":"https://api.github.com/repos/mckelvin/libmc/forks","keys_url":"https://api.github.com/repos/mckelvin/libmc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mckelvin/libmc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mckelvin/libmc/teams","hooks_url":"https://api.github.com/repos/mckelvin/libmc/hooks","issue_events_url":"https://api.github.com/repos/mckelvin/libmc/issues/events{/number}","events_url":"https://api.github.com/repos/mckelvin/libmc/events","assignees_url":"https://api.github.com/repos/mckelvin/libmc/assignees{/user}","branches_url":"https://api.github.com/repos/mckelvin/libmc/branches{/branch}","tags_url":"https://api.github.com/repos/mckelvin/libmc/tags","blobs_url":"https://api.github.com/repos/mckelvin/libmc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mckelvin/libmc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mckelvin/libmc/git/refs{/sha}","trees_url":"https://api.github.com/repos/mckelvin/libmc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mckelvin/libmc/statuses/{sha}","languages_url":"https://api.github.com/repos/mckelvin/libmc/languages","stargazers_url":"https://api.github.com/repos/mckelvin/libmc/stargazers","contributors_url":"https://api.github.com/repos/mckelvin/libmc/contributors","subscribers_url":"https://api.github.com/repos/mckelvin/libmc/subscribers","subscription_url":"https://api.github.com/repos/mckelvin/libmc/subscription","commits_url":"https://api.github.com/repos/mckelvin/libmc/commits{/sha}","git_commits_url":"https://api.github.com/repos/mckelvin/libmc/git/commits{/sha}","comments_url":"https://api.github.com/repos/mckelvin/libmc/comments{/number}","issue_comment_url":"https://api.github.com/repos/mckelvin/libmc/issues/comments{/number}","contents_url":"https://api.github.com/repos/mckelvin/libmc/contents/{+path}","compare_url":"https://api.github.com/repos/mckelvin/libmc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mckelvin/libmc/merges","archive_url":"https://api.github.com/repos/mckelvin/libmc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mckelvin/libmc/downloads","issues_url":"https://api.github.com/repos/mckelvin/libmc/issues{/number}","pulls_url":"https://api.github.com/repos/mckelvin/libmc/pulls{/number}","milestones_url":"https://api.github.com/repos/mckelvin/libmc/milestones{/number}","notifications_url":"https://api.github.com/repos/mckelvin/libmc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mckelvin/libmc/labels{/name}","releases_url":"https://api.github.com/repos/mckelvin/libmc/releases{/id}","created_at":"2015-04-03T13:08:57Z","updated_at":"2015-04-23T06:48:31Z","pushed_at":"2015-07-07T06:42:54Z","git_url":"git://github.com/mckelvin/libmc.git","ssh_url":"git@github.com:mckelvin/libmc.git","clone_url":"https://github.com/mckelvin/libmc.git","svn_url":"https://github.com/mckelvin/libmc","homepage":null,"size":518,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"douban:master","ref":"master","sha":"8d4f09cb3699a905ca6648c3ab80cdca13c62fd6","user":{"login":"douban","id":1220164,"avatar_url":"https://avatars.githubusercontent.com/u/1220164?v=3","gravatar_id":"","url":"https://api.github.com/users/douban","html_url":"https://github.com/douban","followers_url":"https://api.github.com/users/douban/followers","following_url":"https://api.github.com/users/douban/following{/other_user}","gists_url":"https://api.github.com/users/douban/gists{/gist_id}","starred_url":"https://api.github.com/users/douban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/douban/subscriptions","organizations_url":"https://api.github.com/users/douban/orgs","repos_url":"https://api.github.com/users/douban/repos","events_url":"https://api.github.com/users/douban/events{/privacy}","received_events_url":"https://api.github.com/users/douban/received_events","type":"Organization","site_admin":false},"repo":{"id":33291534,"name":"libmc","full_name":"douban/libmc","owner":{"login":"douban","id":1220164,"avatar_url":"https://avatars.githubusercontent.com/u/1220164?v=3","gravatar_id":"","url":"https://api.github.com/users/douban","html_url":"https://github.com/douban","followers_url":"https://api.github.com/users/douban/followers","following_url":"https://api.github.com/users/douban/following{/other_user}","gists_url":"https://api.github.com/users/douban/gists{/gist_id}","starred_url":"https://api.github.com/users/douban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/douban/subscriptions","organizations_url":"https://api.github.com/users/douban/orgs","repos_url":"https://api.github.com/users/douban/repos","events_url":"https://api.github.com/users/douban/events{/privacy}","received_events_url":"https://api.github.com/users/douban/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/douban/libmc","description":"Fast and light-weight memcached client for C++/Python","fork":false,"url":"https://api.github.com/repos/douban/libmc","forks_url":"https://api.github.com/repos/douban/libmc/forks","keys_url":"https://api.github.com/repos/douban/libmc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/douban/libmc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/douban/libmc/teams","hooks_url":"https://api.github.com/repos/douban/libmc/hooks","issue_events_url":"https://api.github.com/repos/douban/libmc/issues/events{/number}","events_url":"https://api.github.com/repos/douban/libmc/events","assignees_url":"https://api.github.com/repos/douban/libmc/assignees{/user}","branches_url":"https://api.github.com/repos/douban/libmc/branches{/branch}","tags_url":"https://api.github.com/repos/douban/libmc/tags","blobs_url":"https://api.github.com/repos/douban/libmc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/douban/libmc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/douban/libmc/git/refs{/sha}","trees_url":"https://api.github.com/repos/douban/libmc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/douban/libmc/statuses/{sha}","languages_url":"https://api.github.com/repos/douban/libmc/languages","stargazers_url":"https://api.github.com/repos/douban/libmc/stargazers","contributors_url":"https://api.github.com/repos/douban/libmc/contributors","subscribers_url":"https://api.github.com/repos/douban/libmc/subscribers","subscription_url":"https://api.github.com/repos/douban/libmc/subscription","commits_url":"https://api.github.com/repos/douban/libmc/commits{/sha}","git_commits_url":"https://api.github.com/repos/douban/libmc/git/commits{/sha}","comments_url":"https://api.github.com/repos/douban/libmc/comments{/number}","issue_comment_url":"https://api.github.com/repos/douban/libmc/issues/comments{/number}","contents_url":"https://api.github.com/repos/douban/libmc/contents/{+path}","compare_url":"https://api.github.com/repos/douban/libmc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/douban/libmc/merges","archive_url":"https://api.github.com/repos/douban/libmc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/douban/libmc/downloads","issues_url":"https://api.github.com/repos/douban/libmc/issues{/number}","pulls_url":"https://api.github.com/repos/douban/libmc/pulls{/number}","milestones_url":"https://api.github.com/repos/douban/libmc/milestones{/number}","notifications_url":"https://api.github.com/repos/douban/libmc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/douban/libmc/labels{/name}","releases_url":"https://api.github.com/repos/douban/libmc/releases{/id}","created_at":"2015-04-02T05:45:00Z","updated_at":"2015-07-07T01:36:19Z","pushed_at":"2015-07-07T06:42:55Z","git_url":"git://github.com/douban/libmc.git","ssh_url":"git@github.com:douban/libmc.git","clone_url":"https://github.com/douban/libmc.git","svn_url":"https://github.com/douban/libmc","homepage":"https://pypi.python.org/pypi/libmc/","size":656,"stargazers_count":231,"watchers_count":231,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":1,"forks":36,"open_issues":1,"watchers":231,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/douban/libmc/pulls/18"},"html":{"href":"https://github.com/douban/libmc/pull/18"},"issue":{"href":"https://api.github.com/repos/douban/libmc/issues/18"},"comments":{"href":"https://api.github.com/repos/douban/libmc/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/douban/libmc/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/douban/libmc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/douban/libmc/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/douban/libmc/statuses/250199761a4540a908b375a07b802508a6877ef5"}}}}