{"action":"created","comment":{"url":"https://api.github.com/repos/nodejs/nodejs.org/pulls/comments/60603885","id":60603885,"diff_hunk":"@@ -57,17 +57,19 @@ Here is an example of setting up a `winston` logger.  This example includes most\n \n       require('winston-riak').Riak;\n       require('winston-mongo').Mongo;\n+      require('winston-couchdb').Couchdb;\n+      \n       var logger = new (winston.Logger)({\n         transports: [\n-          new winston.transports.Console()\n-          new winston.transports.File({ filename: 'path/to/all-logs.log' })\n-          new winston.transports.Couchdb({ 'host': 'localhost', 'db': 'logs' })\n-          new winston.transports.Riak({ bucket: 'logs' })\n-          new winston.transports.MongoDB({ db: 'db', level: 'info'})\n-        ]\n+          new winston.transports.Console(),\n+          new winston.transports.File({ filename: 'path/to/all-logs.log' }),\n+          new winston.transports.Couchdb({ 'host': 'localhost', 'db': 'logs' }),\n+          new winston.transports.Riak({ bucket: 'logs' }),\n+          new winston.transports.MongoDB({ db: 'db', level: 'info'}),","path":"locale/en/knowledge/intermediate/how-to-log.md","position":18,"original_position":18,"commit_id":"9237bed4fff85e7d926a48a373949ab86d442e6a","original_commit_id":"9237bed4fff85e7d926a48a373949ab86d442e6a","user":{"login":"detailyang","id":3370345,"avatar_url":"https://avatars.githubusercontent.com/u/3370345?v=3","gravatar_id":"","url":"https://api.github.com/users/detailyang","html_url":"https://github.com/detailyang","followers_url":"https://api.github.com/users/detailyang/followers","following_url":"https://api.github.com/users/detailyang/following{/other_user}","gists_url":"https://api.github.com/users/detailyang/gists{/gist_id}","starred_url":"https://api.github.com/users/detailyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/detailyang/subscriptions","organizations_url":"https://api.github.com/users/detailyang/orgs","repos_url":"https://api.github.com/users/detailyang/repos","events_url":"https://api.github.com/users/detailyang/events{/privacy}","received_events_url":"https://api.github.com/users/detailyang/received_events","type":"User","site_admin":false},"body":"@lpinca  haha, i know what you meaning:) it's up to us. :grin:","created_at":"2016-04-21T15:38:56Z","updated_at":"2016-04-21T15:38:56Z","html_url":"https://github.com/nodejs/nodejs.org/pull/677#discussion_r60603885","pull_request_url":"https://api.github.com/repos/nodejs/nodejs.org/pulls/677","_links":{"self":{"href":"https://api.github.com/repos/nodejs/nodejs.org/pulls/comments/60603885"},"html":{"href":"https://github.com/nodejs/nodejs.org/pull/677#discussion_r60603885"},"pull_request":{"href":"https://api.github.com/repos/nodejs/nodejs.org/pulls/677"}}},"pull_request":{"url":"https://api.github.com/repos/nodejs/nodejs.org/pulls/677","id":67357851,"html_url":"https://github.com/nodejs/nodejs.org/pull/677","diff_url":"https://github.com/nodejs/nodejs.org/pull/677.diff","patch_url":"https://github.com/nodejs/nodejs.org/pull/677.patch","issue_url":"https://api.github.com/repos/nodejs/nodejs.org/issues/677","number":677,"state":"open","locked":false,"title":"[typo] correct the error on knowledge document","user":{"login":"detailyang","id":3370345,"avatar_url":"https://avatars.githubusercontent.com/u/3370345?v=3","gravatar_id":"","url":"https://api.github.com/users/detailyang","html_url":"https://github.com/detailyang","followers_url":"https://api.github.com/users/detailyang/followers","following_url":"https://api.github.com/users/detailyang/following{/other_user}","gists_url":"https://api.github.com/users/detailyang/gists{/gist_id}","starred_url":"https://api.github.com/users/detailyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/detailyang/subscriptions","organizations_url":"https://api.github.com/users/detailyang/orgs","repos_url":"https://api.github.com/users/detailyang/repos","events_url":"https://api.github.com/users/detailyang/events{/privacy}","received_events_url":"https://api.github.com/users/detailyang/received_events","type":"User","site_admin":false},"body":"correct some errors on knowledge document:) :grin:","created_at":"2016-04-21T13:54:58Z","updated_at":"2016-04-21T15:38:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d98fd0fd4e1cbc33de1f1c341253d68980e2f3a5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nodejs/nodejs.org/pulls/677/commits","review_comments_url":"https://api.github.com/repos/nodejs/nodejs.org/pulls/677/comments","review_comment_url":"https://api.github.com/repos/nodejs/nodejs.org/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nodejs/nodejs.org/issues/677/comments","statuses_url":"https://api.github.com/repos/nodejs/nodejs.org/statuses/9237bed4fff85e7d926a48a373949ab86d442e6a","head":{"label":"detailyang:knowledge","ref":"knowledge","sha":"9237bed4fff85e7d926a48a373949ab86d442e6a","user":{"login":"detailyang","id":3370345,"avatar_url":"https://avatars.githubusercontent.com/u/3370345?v=3","gravatar_id":"","url":"https://api.github.com/users/detailyang","html_url":"https://github.com/detailyang","followers_url":"https://api.github.com/users/detailyang/followers","following_url":"https://api.github.com/users/detailyang/following{/other_user}","gists_url":"https://api.github.com/users/detailyang/gists{/gist_id}","starred_url":"https://api.github.com/users/detailyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/detailyang/subscriptions","organizations_url":"https://api.github.com/users/detailyang/orgs","repos_url":"https://api.github.com/users/detailyang/repos","events_url":"https://api.github.com/users/detailyang/events{/privacy}","received_events_url":"https://api.github.com/users/detailyang/received_events","type":"User","site_admin":false},"repo":{"id":56776638,"name":"nodejs.org","full_name":"detailyang/nodejs.org","owner":{"login":"detailyang","id":3370345,"avatar_url":"https://avatars.githubusercontent.com/u/3370345?v=3","gravatar_id":"","url":"https://api.github.com/users/detailyang","html_url":"https://github.com/detailyang","followers_url":"https://api.github.com/users/detailyang/followers","following_url":"https://api.github.com/users/detailyang/following{/other_user}","gists_url":"https://api.github.com/users/detailyang/gists{/gist_id}","starred_url":"https://api.github.com/users/detailyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/detailyang/subscriptions","organizations_url":"https://api.github.com/users/detailyang/orgs","repos_url":"https://api.github.com/users/detailyang/repos","events_url":"https://api.github.com/users/detailyang/events{/privacy}","received_events_url":"https://api.github.com/users/detailyang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/detailyang/nodejs.org","description":"The Node.js website.","fork":true,"url":"https://api.github.com/repos/detailyang/nodejs.org","forks_url":"https://api.github.com/repos/detailyang/nodejs.org/forks","keys_url":"https://api.github.com/repos/detailyang/nodejs.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/detailyang/nodejs.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/detailyang/nodejs.org/teams","hooks_url":"https://api.github.com/repos/detailyang/nodejs.org/hooks","issue_events_url":"https://api.github.com/repos/detailyang/nodejs.org/issues/events{/number}","events_url":"https://api.github.com/repos/detailyang/nodejs.org/events","assignees_url":"https://api.github.com/repos/detailyang/nodejs.org/assignees{/user}","branches_url":"https://api.github.com/repos/detailyang/nodejs.org/branches{/branch}","tags_url":"https://api.github.com/repos/detailyang/nodejs.org/tags","blobs_url":"https://api.github.com/repos/detailyang/nodejs.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/detailyang/nodejs.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/detailyang/nodejs.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/detailyang/nodejs.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/detailyang/nodejs.org/statuses/{sha}","languages_url":"https://api.github.com/repos/detailyang/nodejs.org/languages","stargazers_url":"https://api.github.com/repos/detailyang/nodejs.org/stargazers","contributors_url":"https://api.github.com/repos/detailyang/nodejs.org/contributors","subscribers_url":"https://api.github.com/repos/detailyang/nodejs.org/subscribers","subscription_url":"https://api.github.com/repos/detailyang/nodejs.org/subscription","commits_url":"https://api.github.com/repos/detailyang/nodejs.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/detailyang/nodejs.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/detailyang/nodejs.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/detailyang/nodejs.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/detailyang/nodejs.org/contents/{+path}","compare_url":"https://api.github.com/repos/detailyang/nodejs.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/detailyang/nodejs.org/merges","archive_url":"https://api.github.com/repos/detailyang/nodejs.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/detailyang/nodejs.org/downloads","issues_url":"https://api.github.com/repos/detailyang/nodejs.org/issues{/number}","pulls_url":"https://api.github.com/repos/detailyang/nodejs.org/pulls{/number}","milestones_url":"https://api.github.com/repos/detailyang/nodejs.org/milestones{/number}","notifications_url":"https://api.github.com/repos/detailyang/nodejs.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/detailyang/nodejs.org/labels{/name}","releases_url":"https://api.github.com/repos/detailyang/nodejs.org/releases{/id}","deployments_url":"https://api.github.com/repos/detailyang/nodejs.org/deployments","created_at":"2016-04-21T13:37:21Z","updated_at":"2016-04-21T13:37:23Z","pushed_at":"2016-04-21T13:52:36Z","git_url":"git://github.com/detailyang/nodejs.org.git","ssh_url":"git@github.com:detailyang/nodejs.org.git","clone_url":"https://github.com/detailyang/nodejs.org.git","svn_url":"https://github.com/detailyang/nodejs.org","homepage":"https://nodejs.org","size":21976,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"nodejs:master","ref":"master","sha":"d3c47ceda8b0e69c3d14a5c26a689a9671d9e014","user":{"login":"nodejs","id":9950313,"avatar_url":"https://avatars.githubusercontent.com/u/9950313?v=3","gravatar_id":"","url":"https://api.github.com/users/nodejs","html_url":"https://github.com/nodejs","followers_url":"https://api.github.com/users/nodejs/followers","following_url":"https://api.github.com/users/nodejs/following{/other_user}","gists_url":"https://api.github.com/users/nodejs/gists{/gist_id}","starred_url":"https://api.github.com/users/nodejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodejs/subscriptions","organizations_url":"https://api.github.com/users/nodejs/orgs","repos_url":"https://api.github.com/users/nodejs/repos","events_url":"https://api.github.com/users/nodejs/events{/privacy}","received_events_url":"https://api.github.com/users/nodejs/received_events","type":"Organization","site_admin":false},"repo":{"id":37717474,"name":"nodejs.org","full_name":"nodejs/nodejs.org","owner":{"login":"nodejs","id":9950313,"avatar_url":"https://avatars.githubusercontent.com/u/9950313?v=3","gravatar_id":"","url":"https://api.github.com/users/nodejs","html_url":"https://github.com/nodejs","followers_url":"https://api.github.com/users/nodejs/followers","following_url":"https://api.github.com/users/nodejs/following{/other_user}","gists_url":"https://api.github.com/users/nodejs/gists{/gist_id}","starred_url":"https://api.github.com/users/nodejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodejs/subscriptions","organizations_url":"https://api.github.com/users/nodejs/orgs","repos_url":"https://api.github.com/users/nodejs/repos","events_url":"https://api.github.com/users/nodejs/events{/privacy}","received_events_url":"https://api.github.com/users/nodejs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nodejs/nodejs.org","description":"The Node.js website.","fork":false,"url":"https://api.github.com/repos/nodejs/nodejs.org","forks_url":"https://api.github.com/repos/nodejs/nodejs.org/forks","keys_url":"https://api.github.com/repos/nodejs/nodejs.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nodejs/nodejs.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nodejs/nodejs.org/teams","hooks_url":"https://api.github.com/repos/nodejs/nodejs.org/hooks","issue_events_url":"https://api.github.com/repos/nodejs/nodejs.org/issues/events{/number}","events_url":"https://api.github.com/repos/nodejs/nodejs.org/events","assignees_url":"https://api.github.com/repos/nodejs/nodejs.org/assignees{/user}","branches_url":"https://api.github.com/repos/nodejs/nodejs.org/branches{/branch}","tags_url":"https://api.github.com/repos/nodejs/nodejs.org/tags","blobs_url":"https://api.github.com/repos/nodejs/nodejs.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nodejs/nodejs.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nodejs/nodejs.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/nodejs/nodejs.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nodejs/nodejs.org/statuses/{sha}","languages_url":"https://api.github.com/repos/nodejs/nodejs.org/languages","stargazers_url":"https://api.github.com/repos/nodejs/nodejs.org/stargazers","contributors_url":"https://api.github.com/repos/nodejs/nodejs.org/contributors","subscribers_url":"https://api.github.com/repos/nodejs/nodejs.org/subscribers","subscription_url":"https://api.github.com/repos/nodejs/nodejs.org/subscription","commits_url":"https://api.github.com/repos/nodejs/nodejs.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/nodejs/nodejs.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/nodejs/nodejs.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/nodejs/nodejs.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/nodejs/nodejs.org/contents/{+path}","compare_url":"https://api.github.com/repos/nodejs/nodejs.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nodejs/nodejs.org/merges","archive_url":"https://api.github.com/repos/nodejs/nodejs.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nodejs/nodejs.org/downloads","issues_url":"https://api.github.com/repos/nodejs/nodejs.org/issues{/number}","pulls_url":"https://api.github.com/repos/nodejs/nodejs.org/pulls{/number}","milestones_url":"https://api.github.com/repos/nodejs/nodejs.org/milestones{/number}","notifications_url":"https://api.github.com/repos/nodejs/nodejs.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nodejs/nodejs.org/labels{/name}","releases_url":"https://api.github.com/repos/nodejs/nodejs.org/releases{/id}","deployments_url":"https://api.github.com/repos/nodejs/nodejs.org/deployments","created_at":"2015-06-19T11:05:10Z","updated_at":"2016-04-21T14:36:30Z","pushed_at":"2016-04-21T13:54:58Z","git_url":"git://github.com/nodejs/nodejs.org.git","ssh_url":"git@github.com:nodejs/nodejs.org.git","clone_url":"https://github.com/nodejs/nodejs.org.git","svn_url":"https://github.com/nodejs/nodejs.org","homepage":"https://nodejs.org","size":23372,"stargazers_count":357,"watchers_count":357,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":655,"mirror_url":null,"open_issues_count":44,"forks":655,"open_issues":44,"watchers":357,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nodejs/nodejs.org/pulls/677"},"html":{"href":"https://github.com/nodejs/nodejs.org/pull/677"},"issue":{"href":"https://api.github.com/repos/nodejs/nodejs.org/issues/677"},"comments":{"href":"https://api.github.com/repos/nodejs/nodejs.org/issues/677/comments"},"review_comments":{"href":"https://api.github.com/repos/nodejs/nodejs.org/pulls/677/comments"},"review_comment":{"href":"https://api.github.com/repos/nodejs/nodejs.org/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nodejs/nodejs.org/pulls/677/commits"},"statuses":{"href":"https://api.github.com/repos/nodejs/nodejs.org/statuses/9237bed4fff85e7d926a48a373949ab86d442e6a"}}}}