{"action":"created","comment":{"url":"https://api.github.com/repos/mendersoftware/mender/pulls/comments/70067270","id":70067270,"diff_hunk":"@@ -56,6 +57,8 @@ var (\n \n var defaultConfFile string = \"/etc/mender/mender.conf\"\n \n+var DeploymentLogger *DeploymentLogManager","path":"main.go","position":12,"original_position":12,"commit_id":"ce4cb12a03d5527d84a9d0e6985881bff0bafef8","original_commit_id":"ce4cb12a03d5527d84a9d0e6985881bff0bafef8","user":{"login":"pasinskim","id":6329055,"avatar_url":"https://avatars.githubusercontent.com/u/6329055?v=3","gravatar_id":"","url":"https://api.github.com/users/pasinskim","html_url":"https://github.com/pasinskim","followers_url":"https://api.github.com/users/pasinskim/followers","following_url":"https://api.github.com/users/pasinskim/following{/other_user}","gists_url":"https://api.github.com/users/pasinskim/gists{/gist_id}","starred_url":"https://api.github.com/users/pasinskim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pasinskim/subscriptions","organizations_url":"https://api.github.com/users/pasinskim/orgs","repos_url":"https://api.github.com/users/pasinskim/repos","events_url":"https://api.github.com/users/pasinskim/events{/privacy}","received_events_url":"https://api.github.com/users/pasinskim/received_events","type":"User","site_admin":false},"body":"Matter of taste I think. It might be easier with pointer to check if it is nil or not. \r\nWhat is more, in our log library `Log` is also a pointer.","created_at":"2016-07-08T12:39:36Z","updated_at":"2016-07-08T12:39:36Z","html_url":"https://github.com/mendersoftware/mender/pull/81#discussion_r70067270","pull_request_url":"https://api.github.com/repos/mendersoftware/mender/pulls/81","_links":{"self":{"href":"https://api.github.com/repos/mendersoftware/mender/pulls/comments/70067270"},"html":{"href":"https://github.com/mendersoftware/mender/pull/81#discussion_r70067270"},"pull_request":{"href":"https://api.github.com/repos/mendersoftware/mender/pulls/81"}}},"pull_request":{"url":"https://api.github.com/repos/mendersoftware/mender/pulls/81","id":76418606,"html_url":"https://github.com/mendersoftware/mender/pull/81","diff_url":"https://github.com/mendersoftware/mender/pull/81.diff","patch_url":"https://github.com/mendersoftware/mender/pull/81.patch","issue_url":"https://api.github.com/repos/mendersoftware/mender/issues/81","number":81,"state":"open","locked":false,"title":"Logs","user":{"login":"pasinskim","id":6329055,"avatar_url":"https://avatars.githubusercontent.com/u/6329055?v=3","gravatar_id":"","url":"https://api.github.com/users/pasinskim","html_url":"https://github.com/pasinskim","followers_url":"https://api.github.com/users/pasinskim/followers","following_url":"https://api.github.com/users/pasinskim/following{/other_user}","gists_url":"https://api.github.com/users/pasinskim/gists{/gist_id}","starred_url":"https://api.github.com/users/pasinskim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pasinskim/subscriptions","organizations_url":"https://api.github.com/users/pasinskim/orgs","repos_url":"https://api.github.com/users/pasinskim/repos","events_url":"https://api.github.com/users/pasinskim/events{/privacy}","received_events_url":"https://api.github.com/users/pasinskim/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-06T11:42:02Z","updated_at":"2016-07-08T12:39:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"be85d77ade4c01d6761ca0c1e82c4685018d4675","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mendersoftware/mender/pulls/81/commits","review_comments_url":"https://api.github.com/repos/mendersoftware/mender/pulls/81/comments","review_comment_url":"https://api.github.com/repos/mendersoftware/mender/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mendersoftware/mender/issues/81/comments","statuses_url":"https://api.github.com/repos/mendersoftware/mender/statuses/ce4cb12a03d5527d84a9d0e6985881bff0bafef8","head":{"label":"pasinskim:logs","ref":"logs","sha":"ce4cb12a03d5527d84a9d0e6985881bff0bafef8","user":{"login":"pasinskim","id":6329055,"avatar_url":"https://avatars.githubusercontent.com/u/6329055?v=3","gravatar_id":"","url":"https://api.github.com/users/pasinskim","html_url":"https://github.com/pasinskim","followers_url":"https://api.github.com/users/pasinskim/followers","following_url":"https://api.github.com/users/pasinskim/following{/other_user}","gists_url":"https://api.github.com/users/pasinskim/gists{/gist_id}","starred_url":"https://api.github.com/users/pasinskim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pasinskim/subscriptions","organizations_url":"https://api.github.com/users/pasinskim/orgs","repos_url":"https://api.github.com/users/pasinskim/repos","events_url":"https://api.github.com/users/pasinskim/events{/privacy}","received_events_url":"https://api.github.com/users/pasinskim/received_events","type":"User","site_admin":false},"repo":{"id":50120838,"name":"mender","full_name":"pasinskim/mender","owner":{"login":"pasinskim","id":6329055,"avatar_url":"https://avatars.githubusercontent.com/u/6329055?v=3","gravatar_id":"","url":"https://api.github.com/users/pasinskim","html_url":"https://github.com/pasinskim","followers_url":"https://api.github.com/users/pasinskim/followers","following_url":"https://api.github.com/users/pasinskim/following{/other_user}","gists_url":"https://api.github.com/users/pasinskim/gists{/gist_id}","starred_url":"https://api.github.com/users/pasinskim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pasinskim/subscriptions","organizations_url":"https://api.github.com/users/pasinskim/orgs","repos_url":"https://api.github.com/users/pasinskim/repos","events_url":"https://api.github.com/users/pasinskim/events{/privacy}","received_events_url":"https://api.github.com/users/pasinskim/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pasinskim/mender","description":"Mender over-the-air software updates.","fork":true,"url":"https://api.github.com/repos/pasinskim/mender","forks_url":"https://api.github.com/repos/pasinskim/mender/forks","keys_url":"https://api.github.com/repos/pasinskim/mender/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pasinskim/mender/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pasinskim/mender/teams","hooks_url":"https://api.github.com/repos/pasinskim/mender/hooks","issue_events_url":"https://api.github.com/repos/pasinskim/mender/issues/events{/number}","events_url":"https://api.github.com/repos/pasinskim/mender/events","assignees_url":"https://api.github.com/repos/pasinskim/mender/assignees{/user}","branches_url":"https://api.github.com/repos/pasinskim/mender/branches{/branch}","tags_url":"https://api.github.com/repos/pasinskim/mender/tags","blobs_url":"https://api.github.com/repos/pasinskim/mender/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pasinskim/mender/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pasinskim/mender/git/refs{/sha}","trees_url":"https://api.github.com/repos/pasinskim/mender/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pasinskim/mender/statuses/{sha}","languages_url":"https://api.github.com/repos/pasinskim/mender/languages","stargazers_url":"https://api.github.com/repos/pasinskim/mender/stargazers","contributors_url":"https://api.github.com/repos/pasinskim/mender/contributors","subscribers_url":"https://api.github.com/repos/pasinskim/mender/subscribers","subscription_url":"https://api.github.com/repos/pasinskim/mender/subscription","commits_url":"https://api.github.com/repos/pasinskim/mender/commits{/sha}","git_commits_url":"https://api.github.com/repos/pasinskim/mender/git/commits{/sha}","comments_url":"https://api.github.com/repos/pasinskim/mender/comments{/number}","issue_comment_url":"https://api.github.com/repos/pasinskim/mender/issues/comments{/number}","contents_url":"https://api.github.com/repos/pasinskim/mender/contents/{+path}","compare_url":"https://api.github.com/repos/pasinskim/mender/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pasinskim/mender/merges","archive_url":"https://api.github.com/repos/pasinskim/mender/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pasinskim/mender/downloads","issues_url":"https://api.github.com/repos/pasinskim/mender/issues{/number}","pulls_url":"https://api.github.com/repos/pasinskim/mender/pulls{/number}","milestones_url":"https://api.github.com/repos/pasinskim/mender/milestones{/number}","notifications_url":"https://api.github.com/repos/pasinskim/mender/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pasinskim/mender/labels{/name}","releases_url":"https://api.github.com/repos/pasinskim/mender/releases{/id}","deployments_url":"https://api.github.com/repos/pasinskim/mender/deployments","created_at":"2016-01-21T16:34:16Z","updated_at":"2016-01-21T16:35:29Z","pushed_at":"2016-07-08T11:49:58Z","git_url":"git://github.com/pasinskim/mender.git","ssh_url":"git@github.com:pasinskim/mender.git","clone_url":"https://github.com/pasinskim/mender.git","svn_url":"https://github.com/pasinskim/mender","homepage":"https://mender.io","size":934,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"mendersoftware:master","ref":"master","sha":"2e6c03b03a7c3b5005c07f265d39abd67b0f6f4b","user":{"login":"mendersoftware","id":15040539,"avatar_url":"https://avatars.githubusercontent.com/u/15040539?v=3","gravatar_id":"","url":"https://api.github.com/users/mendersoftware","html_url":"https://github.com/mendersoftware","followers_url":"https://api.github.com/users/mendersoftware/followers","following_url":"https://api.github.com/users/mendersoftware/following{/other_user}","gists_url":"https://api.github.com/users/mendersoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/mendersoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mendersoftware/subscriptions","organizations_url":"https://api.github.com/users/mendersoftware/orgs","repos_url":"https://api.github.com/users/mendersoftware/repos","events_url":"https://api.github.com/users/mendersoftware/events{/privacy}","received_events_url":"https://api.github.com/users/mendersoftware/received_events","type":"Organization","site_admin":false},"repo":{"id":47542798,"name":"mender","full_name":"mendersoftware/mender","owner":{"login":"mendersoftware","id":15040539,"avatar_url":"https://avatars.githubusercontent.com/u/15040539?v=3","gravatar_id":"","url":"https://api.github.com/users/mendersoftware","html_url":"https://github.com/mendersoftware","followers_url":"https://api.github.com/users/mendersoftware/followers","following_url":"https://api.github.com/users/mendersoftware/following{/other_user}","gists_url":"https://api.github.com/users/mendersoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/mendersoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mendersoftware/subscriptions","organizations_url":"https://api.github.com/users/mendersoftware/orgs","repos_url":"https://api.github.com/users/mendersoftware/repos","events_url":"https://api.github.com/users/mendersoftware/events{/privacy}","received_events_url":"https://api.github.com/users/mendersoftware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mendersoftware/mender","description":"Mender over-the-air software updates.","fork":false,"url":"https://api.github.com/repos/mendersoftware/mender","forks_url":"https://api.github.com/repos/mendersoftware/mender/forks","keys_url":"https://api.github.com/repos/mendersoftware/mender/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mendersoftware/mender/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mendersoftware/mender/teams","hooks_url":"https://api.github.com/repos/mendersoftware/mender/hooks","issue_events_url":"https://api.github.com/repos/mendersoftware/mender/issues/events{/number}","events_url":"https://api.github.com/repos/mendersoftware/mender/events","assignees_url":"https://api.github.com/repos/mendersoftware/mender/assignees{/user}","branches_url":"https://api.github.com/repos/mendersoftware/mender/branches{/branch}","tags_url":"https://api.github.com/repos/mendersoftware/mender/tags","blobs_url":"https://api.github.com/repos/mendersoftware/mender/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mendersoftware/mender/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mendersoftware/mender/git/refs{/sha}","trees_url":"https://api.github.com/repos/mendersoftware/mender/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mendersoftware/mender/statuses/{sha}","languages_url":"https://api.github.com/repos/mendersoftware/mender/languages","stargazers_url":"https://api.github.com/repos/mendersoftware/mender/stargazers","contributors_url":"https://api.github.com/repos/mendersoftware/mender/contributors","subscribers_url":"https://api.github.com/repos/mendersoftware/mender/subscribers","subscription_url":"https://api.github.com/repos/mendersoftware/mender/subscription","commits_url":"https://api.github.com/repos/mendersoftware/mender/commits{/sha}","git_commits_url":"https://api.github.com/repos/mendersoftware/mender/git/commits{/sha}","comments_url":"https://api.github.com/repos/mendersoftware/mender/comments{/number}","issue_comment_url":"https://api.github.com/repos/mendersoftware/mender/issues/comments{/number}","contents_url":"https://api.github.com/repos/mendersoftware/mender/contents/{+path}","compare_url":"https://api.github.com/repos/mendersoftware/mender/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mendersoftware/mender/merges","archive_url":"https://api.github.com/repos/mendersoftware/mender/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mendersoftware/mender/downloads","issues_url":"https://api.github.com/repos/mendersoftware/mender/issues{/number}","pulls_url":"https://api.github.com/repos/mendersoftware/mender/pulls{/number}","milestones_url":"https://api.github.com/repos/mendersoftware/mender/milestones{/number}","notifications_url":"https://api.github.com/repos/mendersoftware/mender/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mendersoftware/mender/labels{/name}","releases_url":"https://api.github.com/repos/mendersoftware/mender/releases{/id}","deployments_url":"https://api.github.com/repos/mendersoftware/mender/deployments","created_at":"2015-12-07T09:36:43Z","updated_at":"2016-05-11T10:44:26Z","pushed_at":"2016-07-08T11:49:58Z","git_url":"git://github.com/mendersoftware/mender.git","ssh_url":"git@github.com:mendersoftware/mender.git","clone_url":"https://github.com/mendersoftware/mender.git","svn_url":"https://github.com/mendersoftware/mender","homepage":"https://mender.io","size":976,"stargazers_count":10,"watchers_count":10,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":2,"forks":11,"open_issues":2,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mendersoftware/mender/pulls/81"},"html":{"href":"https://github.com/mendersoftware/mender/pull/81"},"issue":{"href":"https://api.github.com/repos/mendersoftware/mender/issues/81"},"comments":{"href":"https://api.github.com/repos/mendersoftware/mender/issues/81/comments"},"review_comments":{"href":"https://api.github.com/repos/mendersoftware/mender/pulls/81/comments"},"review_comment":{"href":"https://api.github.com/repos/mendersoftware/mender/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mendersoftware/mender/pulls/81/commits"},"statuses":{"href":"https://api.github.com/repos/mendersoftware/mender/statuses/ce4cb12a03d5527d84a9d0e6985881bff0bafef8"}}}}
{"actor":{"display_login":"pasinskim"}}