{"action":"created","comment":{"url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/pulls/comments/59594031","id":59594031,"diff_hunk":"@@ -1,5 +1,7 @@\n module.exports = function initAdapters(libs, conf, models, workers) {\n   const adapters = {};\n \n+  require('./logAdapter')(models, adapters);","path":"server/adapters/index.js","position":4,"original_position":4,"commit_id":"54c036bdf260eb50f1ebaa4954b1aa251c8bee0a","original_commit_id":"54c036bdf260eb50f1ebaa4954b1aa251c8bee0a","user":{"login":"Grenadingue","id":9608184,"avatar_url":"https://avatars.githubusercontent.com/u/9608184?v=3","gravatar_id":"","url":"https://api.github.com/users/Grenadingue","html_url":"https://github.com/Grenadingue","followers_url":"https://api.github.com/users/Grenadingue/followers","following_url":"https://api.github.com/users/Grenadingue/following{/other_user}","gists_url":"https://api.github.com/users/Grenadingue/gists{/gist_id}","starred_url":"https://api.github.com/users/Grenadingue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Grenadingue/subscriptions","organizations_url":"https://api.github.com/users/Grenadingue/orgs","repos_url":"https://api.github.com/users/Grenadingue/repos","events_url":"https://api.github.com/users/Grenadingue/events{/privacy}","received_events_url":"https://api.github.com/users/Grenadingue/received_events","type":"User","site_admin":false},"body":"@vuongc \r\nNo no, you continue to add it, like before, to the `adapter` object. But this time instead of adding `logAdapter` to `adapters`, you add `log`. To finally have something like `{ adapters: { log: {...}, foobar: {...} } }`.","created_at":"2016-04-13T17:53:23Z","updated_at":"2016-04-13T17:53:23Z","html_url":"https://github.com/EIP-SAM/SAM-Solution-Node-js/pull/6#discussion_r59594031","pull_request_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/pulls/comments/59594031"},"html":{"href":"https://github.com/EIP-SAM/SAM-Solution-Node-js/pull/6#discussion_r59594031"},"pull_request":{"href":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/pulls/6","id":64880959,"html_url":"https://github.com/EIP-SAM/SAM-Solution-Node-js/pull/6","diff_url":"https://github.com/EIP-SAM/SAM-Solution-Node-js/pull/6.diff","patch_url":"https://github.com/EIP-SAM/SAM-Solution-Node-js/pull/6.patch","issue_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/issues/6","number":6,"state":"open","locked":false,"title":"Module log","user":{"login":"vuongc","id":6729188,"avatar_url":"https://avatars.githubusercontent.com/u/6729188?v=3","gravatar_id":"","url":"https://api.github.com/users/vuongc","html_url":"https://github.com/vuongc","followers_url":"https://api.github.com/users/vuongc/followers","following_url":"https://api.github.com/users/vuongc/following{/other_user}","gists_url":"https://api.github.com/users/vuongc/gists{/gist_id}","starred_url":"https://api.github.com/users/vuongc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuongc/subscriptions","organizations_url":"https://api.github.com/users/vuongc/orgs","repos_url":"https://api.github.com/users/vuongc/repos","events_url":"https://api.github.com/users/vuongc/events{/privacy}","received_events_url":"https://api.github.com/users/vuongc/received_events","type":"User","site_admin":false},"body":"#3: Module logs","created_at":"2016-04-01T00:38:48Z","updated_at":"2016-04-13T17:53:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"72023a3cce78b8b1da1d42a4bac3fc9898b019fa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/pulls/6/commits","review_comments_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/pulls/6/comments","review_comment_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/issues/6/comments","statuses_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/statuses/54c036bdf260eb50f1ebaa4954b1aa251c8bee0a","head":{"label":"EIP-SAM:module_log","ref":"module_log","sha":"54c036bdf260eb50f1ebaa4954b1aa251c8bee0a","user":{"login":"EIP-SAM","id":12535470,"avatar_url":"https://avatars.githubusercontent.com/u/12535470?v=3","gravatar_id":"","url":"https://api.github.com/users/EIP-SAM","html_url":"https://github.com/EIP-SAM","followers_url":"https://api.github.com/users/EIP-SAM/followers","following_url":"https://api.github.com/users/EIP-SAM/following{/other_user}","gists_url":"https://api.github.com/users/EIP-SAM/gists{/gist_id}","starred_url":"https://api.github.com/users/EIP-SAM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EIP-SAM/subscriptions","organizations_url":"https://api.github.com/users/EIP-SAM/orgs","repos_url":"https://api.github.com/users/EIP-SAM/repos","events_url":"https://api.github.com/users/EIP-SAM/events{/privacy}","received_events_url":"https://api.github.com/users/EIP-SAM/received_events","type":"Organization","site_admin":false},"repo":{"id":50298197,"name":"SAM-Solution-Node-js","full_name":"EIP-SAM/SAM-Solution-Node-js","owner":{"login":"EIP-SAM","id":12535470,"avatar_url":"https://avatars.githubusercontent.com/u/12535470?v=3","gravatar_id":"","url":"https://api.github.com/users/EIP-SAM","html_url":"https://github.com/EIP-SAM","followers_url":"https://api.github.com/users/EIP-SAM/followers","following_url":"https://api.github.com/users/EIP-SAM/following{/other_user}","gists_url":"https://api.github.com/users/EIP-SAM/gists{/gist_id}","starred_url":"https://api.github.com/users/EIP-SAM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EIP-SAM/subscriptions","organizations_url":"https://api.github.com/users/EIP-SAM/orgs","repos_url":"https://api.github.com/users/EIP-SAM/repos","events_url":"https://api.github.com/users/EIP-SAM/events{/privacy}","received_events_url":"https://api.github.com/users/EIP-SAM/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/EIP-SAM/SAM-Solution-Node-js","description":"System Administration Manager","fork":false,"url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js","forks_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/forks","keys_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/teams","hooks_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/hooks","issue_events_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/issues/events{/number}","events_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/events","assignees_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/assignees{/user}","branches_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/branches{/branch}","tags_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/tags","blobs_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/statuses/{sha}","languages_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/languages","stargazers_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/stargazers","contributors_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/contributors","subscribers_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/subscribers","subscription_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/subscription","commits_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/contents/{+path}","compare_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/merges","archive_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/downloads","issues_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/issues{/number}","pulls_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/pulls{/number}","milestones_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/milestones{/number}","notifications_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/labels{/name}","releases_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/releases{/id}","deployments_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/deployments","created_at":"2016-01-24T17:13:37Z","updated_at":"2016-03-05T22:07:50Z","pushed_at":"2016-04-13T11:36:21Z","git_url":"git://github.com/EIP-SAM/SAM-Solution-Node-js.git","ssh_url":"git@github.com:EIP-SAM/SAM-Solution-Node-js.git","clone_url":"https://github.com/EIP-SAM/SAM-Solution-Node-js.git","svn_url":"https://github.com/EIP-SAM/SAM-Solution-Node-js","homepage":null,"size":102,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"develop"}},"base":{"label":"EIP-SAM:develop","ref":"develop","sha":"3601f10e0687607c2cc402391fd90f6de8dc54ec","user":{"login":"EIP-SAM","id":12535470,"avatar_url":"https://avatars.githubusercontent.com/u/12535470?v=3","gravatar_id":"","url":"https://api.github.com/users/EIP-SAM","html_url":"https://github.com/EIP-SAM","followers_url":"https://api.github.com/users/EIP-SAM/followers","following_url":"https://api.github.com/users/EIP-SAM/following{/other_user}","gists_url":"https://api.github.com/users/EIP-SAM/gists{/gist_id}","starred_url":"https://api.github.com/users/EIP-SAM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EIP-SAM/subscriptions","organizations_url":"https://api.github.com/users/EIP-SAM/orgs","repos_url":"https://api.github.com/users/EIP-SAM/repos","events_url":"https://api.github.com/users/EIP-SAM/events{/privacy}","received_events_url":"https://api.github.com/users/EIP-SAM/received_events","type":"Organization","site_admin":false},"repo":{"id":50298197,"name":"SAM-Solution-Node-js","full_name":"EIP-SAM/SAM-Solution-Node-js","owner":{"login":"EIP-SAM","id":12535470,"avatar_url":"https://avatars.githubusercontent.com/u/12535470?v=3","gravatar_id":"","url":"https://api.github.com/users/EIP-SAM","html_url":"https://github.com/EIP-SAM","followers_url":"https://api.github.com/users/EIP-SAM/followers","following_url":"https://api.github.com/users/EIP-SAM/following{/other_user}","gists_url":"https://api.github.com/users/EIP-SAM/gists{/gist_id}","starred_url":"https://api.github.com/users/EIP-SAM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EIP-SAM/subscriptions","organizations_url":"https://api.github.com/users/EIP-SAM/orgs","repos_url":"https://api.github.com/users/EIP-SAM/repos","events_url":"https://api.github.com/users/EIP-SAM/events{/privacy}","received_events_url":"https://api.github.com/users/EIP-SAM/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/EIP-SAM/SAM-Solution-Node-js","description":"System Administration Manager","fork":false,"url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js","forks_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/forks","keys_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/teams","hooks_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/hooks","issue_events_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/issues/events{/number}","events_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/events","assignees_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/assignees{/user}","branches_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/branches{/branch}","tags_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/tags","blobs_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/statuses/{sha}","languages_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/languages","stargazers_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/stargazers","contributors_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/contributors","subscribers_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/subscribers","subscription_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/subscription","commits_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/contents/{+path}","compare_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/merges","archive_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/downloads","issues_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/issues{/number}","pulls_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/pulls{/number}","milestones_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/milestones{/number}","notifications_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/labels{/name}","releases_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/releases{/id}","deployments_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/deployments","created_at":"2016-01-24T17:13:37Z","updated_at":"2016-03-05T22:07:50Z","pushed_at":"2016-04-13T11:36:21Z","git_url":"git://github.com/EIP-SAM/SAM-Solution-Node-js.git","ssh_url":"git@github.com:EIP-SAM/SAM-Solution-Node-js.git","clone_url":"https://github.com/EIP-SAM/SAM-Solution-Node-js.git","svn_url":"https://github.com/EIP-SAM/SAM-Solution-Node-js","homepage":null,"size":102,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/pulls/6"},"html":{"href":"https://github.com/EIP-SAM/SAM-Solution-Node-js/pull/6"},"issue":{"href":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/issues/6"},"comments":{"href":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Node-js/statuses/54c036bdf260eb50f1ebaa4954b1aa251c8bee0a"}}}}