{"action":"created","comment":{"url":"https://api.github.com/repos/pocket-playlab/optimus-prime/pulls/comments/26367264","id":26367264,"diff_hunk":"@@ -35,8 +35,10 @@ def subclasses\n       end\n     end\n \n-    def logger\n-      @logger ||= Logger.new(STDERR)\n+    attr_reader :logger","path":"lib/optimus_prime/step.rb","position":6,"original_position":6,"commit_id":"b289bc717c131c89d67449e98762d7cb0c415702","original_commit_id":"b289bc717c131c89d67449e98762d7cb0c415702","user":{"login":"omarkhan","id":793379,"avatar_url":"https://avatars.githubusercontent.com/u/793379?v=3","gravatar_id":"","url":"https://api.github.com/users/omarkhan","html_url":"https://github.com/omarkhan","followers_url":"https://api.github.com/users/omarkhan/followers","following_url":"https://api.github.com/users/omarkhan/following{/other_user}","gists_url":"https://api.github.com/users/omarkhan/gists{/gist_id}","starred_url":"https://api.github.com/users/omarkhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omarkhan/subscriptions","organizations_url":"https://api.github.com/users/omarkhan/orgs","repos_url":"https://api.github.com/users/omarkhan/repos","events_url":"https://api.github.com/users/omarkhan/events{/privacy}","received_events_url":"https://api.github.com/users/omarkhan/received_events","type":"User","site_admin":false},"body":"Replace `attr_reader` with `attr_accessor` and you can drop the setter method","created_at":"2015-03-13T06:31:27Z","updated_at":"2015-03-13T06:31:27Z","html_url":"https://github.com/pocket-playlab/optimus-prime/pull/33#discussion_r26367264","pull_request_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/pulls/33","_links":{"self":{"href":"https://api.github.com/repos/pocket-playlab/optimus-prime/pulls/comments/26367264"},"html":{"href":"https://github.com/pocket-playlab/optimus-prime/pull/33#discussion_r26367264"},"pull_request":{"href":"https://api.github.com/repos/pocket-playlab/optimus-prime/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/pocket-playlab/optimus-prime/pulls/33","id":31102833,"html_url":"https://github.com/pocket-playlab/optimus-prime/pull/33","diff_url":"https://github.com/pocket-playlab/optimus-prime/pull/33.diff","patch_url":"https://github.com/pocket-playlab/optimus-prime/pull/33.patch","issue_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/issues/33","number":33,"state":"open","locked":false,"title":"Added quick logging mechanism, to be changed later","user":{"login":"TamerShlash","id":934331,"avatar_url":"https://avatars.githubusercontent.com/u/934331?v=3","gravatar_id":"","url":"https://api.github.com/users/TamerShlash","html_url":"https://github.com/TamerShlash","followers_url":"https://api.github.com/users/TamerShlash/followers","following_url":"https://api.github.com/users/TamerShlash/following{/other_user}","gists_url":"https://api.github.com/users/TamerShlash/gists{/gist_id}","starred_url":"https://api.github.com/users/TamerShlash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TamerShlash/subscriptions","organizations_url":"https://api.github.com/users/TamerShlash/orgs","repos_url":"https://api.github.com/users/TamerShlash/repos","events_url":"https://api.github.com/users/TamerShlash/events{/privacy}","received_events_url":"https://api.github.com/users/TamerShlash/received_events","type":"User","site_admin":false},"body":"Quick as possible, this mechanism creates a logger in the pipeline and assigns it to each step, so that all the logging will happen on the same logger.","created_at":"2015-03-13T06:27:51Z","updated_at":"2015-03-13T06:31:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f834c84951f493f5a828c032ef471ecdc045ec4f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/pulls/33/commits","review_comments_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/pulls/33/comments","review_comment_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/issues/33/comments","statuses_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/statuses/b289bc717c131c89d67449e98762d7cb0c415702","head":{"label":"pocket-playlab:stub-logger","ref":"stub-logger","sha":"b289bc717c131c89d67449e98762d7cb0c415702","user":{"login":"pocket-playlab","id":6857738,"avatar_url":"https://avatars.githubusercontent.com/u/6857738?v=3","gravatar_id":"","url":"https://api.github.com/users/pocket-playlab","html_url":"https://github.com/pocket-playlab","followers_url":"https://api.github.com/users/pocket-playlab/followers","following_url":"https://api.github.com/users/pocket-playlab/following{/other_user}","gists_url":"https://api.github.com/users/pocket-playlab/gists{/gist_id}","starred_url":"https://api.github.com/users/pocket-playlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pocket-playlab/subscriptions","organizations_url":"https://api.github.com/users/pocket-playlab/orgs","repos_url":"https://api.github.com/users/pocket-playlab/repos","events_url":"https://api.github.com/users/pocket-playlab/events{/privacy}","received_events_url":"https://api.github.com/users/pocket-playlab/received_events","type":"Organization","site_admin":false},"repo":{"id":29717247,"name":"optimus-prime","full_name":"pocket-playlab/optimus-prime","owner":{"login":"pocket-playlab","id":6857738,"avatar_url":"https://avatars.githubusercontent.com/u/6857738?v=3","gravatar_id":"","url":"https://api.github.com/users/pocket-playlab","html_url":"https://github.com/pocket-playlab","followers_url":"https://api.github.com/users/pocket-playlab/followers","following_url":"https://api.github.com/users/pocket-playlab/following{/other_user}","gists_url":"https://api.github.com/users/pocket-playlab/gists{/gist_id}","starred_url":"https://api.github.com/users/pocket-playlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pocket-playlab/subscriptions","organizations_url":"https://api.github.com/users/pocket-playlab/orgs","repos_url":"https://api.github.com/users/pocket-playlab/repos","events_url":"https://api.github.com/users/pocket-playlab/events{/privacy}","received_events_url":"https://api.github.com/users/pocket-playlab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pocket-playlab/optimus-prime","description":"alpha ETL framework","fork":false,"url":"https://api.github.com/repos/pocket-playlab/optimus-prime","forks_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/forks","keys_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/teams","hooks_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/hooks","issue_events_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/issues/events{/number}","events_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/events","assignees_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/assignees{/user}","branches_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/branches{/branch}","tags_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/tags","blobs_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/git/refs{/sha}","trees_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/statuses/{sha}","languages_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/languages","stargazers_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/stargazers","contributors_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/contributors","subscribers_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/subscribers","subscription_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/subscription","commits_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/commits{/sha}","git_commits_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/git/commits{/sha}","comments_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/comments{/number}","issue_comment_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/issues/comments{/number}","contents_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/contents/{+path}","compare_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/merges","archive_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/downloads","issues_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/issues{/number}","pulls_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/pulls{/number}","milestones_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/milestones{/number}","notifications_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/labels{/name}","releases_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/releases{/id}","created_at":"2015-01-23T04:57:13Z","updated_at":"2015-03-10T10:42:33Z","pushed_at":"2015-03-13T06:24:45Z","git_url":"git://github.com/pocket-playlab/optimus-prime.git","ssh_url":"git@github.com:pocket-playlab/optimus-prime.git","clone_url":"https://github.com/pocket-playlab/optimus-prime.git","svn_url":"https://github.com/pocket-playlab/optimus-prime","homepage":null,"size":1588,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"pocket-playlab:master","ref":"master","sha":"faa818259ceb6457a5f71f4663091bede356f0ed","user":{"login":"pocket-playlab","id":6857738,"avatar_url":"https://avatars.githubusercontent.com/u/6857738?v=3","gravatar_id":"","url":"https://api.github.com/users/pocket-playlab","html_url":"https://github.com/pocket-playlab","followers_url":"https://api.github.com/users/pocket-playlab/followers","following_url":"https://api.github.com/users/pocket-playlab/following{/other_user}","gists_url":"https://api.github.com/users/pocket-playlab/gists{/gist_id}","starred_url":"https://api.github.com/users/pocket-playlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pocket-playlab/subscriptions","organizations_url":"https://api.github.com/users/pocket-playlab/orgs","repos_url":"https://api.github.com/users/pocket-playlab/repos","events_url":"https://api.github.com/users/pocket-playlab/events{/privacy}","received_events_url":"https://api.github.com/users/pocket-playlab/received_events","type":"Organization","site_admin":false},"repo":{"id":29717247,"name":"optimus-prime","full_name":"pocket-playlab/optimus-prime","owner":{"login":"pocket-playlab","id":6857738,"avatar_url":"https://avatars.githubusercontent.com/u/6857738?v=3","gravatar_id":"","url":"https://api.github.com/users/pocket-playlab","html_url":"https://github.com/pocket-playlab","followers_url":"https://api.github.com/users/pocket-playlab/followers","following_url":"https://api.github.com/users/pocket-playlab/following{/other_user}","gists_url":"https://api.github.com/users/pocket-playlab/gists{/gist_id}","starred_url":"https://api.github.com/users/pocket-playlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pocket-playlab/subscriptions","organizations_url":"https://api.github.com/users/pocket-playlab/orgs","repos_url":"https://api.github.com/users/pocket-playlab/repos","events_url":"https://api.github.com/users/pocket-playlab/events{/privacy}","received_events_url":"https://api.github.com/users/pocket-playlab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pocket-playlab/optimus-prime","description":"alpha ETL framework","fork":false,"url":"https://api.github.com/repos/pocket-playlab/optimus-prime","forks_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/forks","keys_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/teams","hooks_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/hooks","issue_events_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/issues/events{/number}","events_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/events","assignees_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/assignees{/user}","branches_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/branches{/branch}","tags_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/tags","blobs_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/git/refs{/sha}","trees_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/statuses/{sha}","languages_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/languages","stargazers_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/stargazers","contributors_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/contributors","subscribers_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/subscribers","subscription_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/subscription","commits_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/commits{/sha}","git_commits_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/git/commits{/sha}","comments_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/comments{/number}","issue_comment_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/issues/comments{/number}","contents_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/contents/{+path}","compare_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/merges","archive_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/downloads","issues_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/issues{/number}","pulls_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/pulls{/number}","milestones_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/milestones{/number}","notifications_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/labels{/name}","releases_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/releases{/id}","created_at":"2015-01-23T04:57:13Z","updated_at":"2015-03-10T10:42:33Z","pushed_at":"2015-03-13T06:24:45Z","git_url":"git://github.com/pocket-playlab/optimus-prime.git","ssh_url":"git@github.com:pocket-playlab/optimus-prime.git","clone_url":"https://github.com/pocket-playlab/optimus-prime.git","svn_url":"https://github.com/pocket-playlab/optimus-prime","homepage":null,"size":1588,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pocket-playlab/optimus-prime/pulls/33"},"html":{"href":"https://github.com/pocket-playlab/optimus-prime/pull/33"},"issue":{"href":"https://api.github.com/repos/pocket-playlab/optimus-prime/issues/33"},"comments":{"href":"https://api.github.com/repos/pocket-playlab/optimus-prime/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/pocket-playlab/optimus-prime/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/pocket-playlab/optimus-prime/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pocket-playlab/optimus-prime/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/pocket-playlab/optimus-prime/statuses/b289bc717c131c89d67449e98762d7cb0c415702"}}}}