{"action":"created","comment":{"url":"https://api.github.com/repos/apache/cordova-medic/pulls/comments/37225188","id":37225188,"diff_hunk":"@@ -238,6 +241,16 @@ function windowsSpecificPreparation(argv) {\n         );\n     }\n \n+    // start logging\n+    var logScriptPath = path.join(platformPath, 'cordova', 'log');\n+    if (fs.existsSync(logScriptPath)) {\n+        logProcess = cp.fork(logScriptPath, [], { silent: true });","path":"medic/medic-run.js","position":24,"original_position":24,"commit_id":"6f72ede307bb7660e8d6943313b47fe19150093f","original_commit_id":"6f72ede307bb7660e8d6943313b47fe19150093f","user":{"login":"nikhilkh","id":2417321,"avatar_url":"https://avatars.githubusercontent.com/u/2417321?v=3","gravatar_id":"","url":"https://api.github.com/users/nikhilkh","html_url":"https://github.com/nikhilkh","followers_url":"https://api.github.com/users/nikhilkh/followers","following_url":"https://api.github.com/users/nikhilkh/following{/other_user}","gists_url":"https://api.github.com/users/nikhilkh/gists{/gist_id}","starred_url":"https://api.github.com/users/nikhilkh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikhilkh/subscriptions","organizations_url":"https://api.github.com/users/nikhilkh/orgs","repos_url":"https://api.github.com/users/nikhilkh/repos","events_url":"https://api.github.com/users/nikhilkh/events{/privacy}","received_events_url":"https://api.github.com/users/nikhilkh/received_events","type":"User","site_admin":false},"body":"Probably good to create a medic log message 'Starting log...\"","created_at":"2015-08-17T19:13:15Z","updated_at":"2015-08-17T19:13:15Z","html_url":"https://github.com/apache/cordova-medic/pull/59#discussion_r37225188","pull_request_url":"https://api.github.com/repos/apache/cordova-medic/pulls/59","_links":{"self":{"href":"https://api.github.com/repos/apache/cordova-medic/pulls/comments/37225188"},"html":{"href":"https://github.com/apache/cordova-medic/pull/59#discussion_r37225188"},"pull_request":{"href":"https://api.github.com/repos/apache/cordova-medic/pulls/59"}}},"pull_request":{"url":"https://api.github.com/repos/apache/cordova-medic/pulls/59","id":42343845,"html_url":"https://github.com/apache/cordova-medic/pull/59","diff_url":"https://github.com/apache/cordova-medic/pull/59.diff","patch_url":"https://github.com/apache/cordova-medic/pull/59.patch","issue_url":"https://api.github.com/repos/apache/cordova-medic/issues/59","number":59,"state":"open","locked":false,"title":"CB-8936 Windows logs gathering","user":{"login":"alsorokin","id":10210197,"avatar_url":"https://avatars.githubusercontent.com/u/10210197?v=3","gravatar_id":"","url":"https://api.github.com/users/alsorokin","html_url":"https://github.com/alsorokin","followers_url":"https://api.github.com/users/alsorokin/followers","following_url":"https://api.github.com/users/alsorokin/following{/other_user}","gists_url":"https://api.github.com/users/alsorokin/gists{/gist_id}","starred_url":"https://api.github.com/users/alsorokin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alsorokin/subscriptions","organizations_url":"https://api.github.com/users/alsorokin/orgs","repos_url":"https://api.github.com/users/alsorokin/repos","events_url":"https://api.github.com/users/alsorokin/events{/privacy}","received_events_url":"https://api.github.com/users/alsorokin/received_events","type":"User","site_admin":false},"body":"https://issues.apache.org/jira/browse/CB-8936","created_at":"2015-08-13T12:20:09Z","updated_at":"2015-08-17T19:13:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c744c02c91e7adbffd920ba4401f98df68eb2db8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/cordova-medic/pulls/59/commits","review_comments_url":"https://api.github.com/repos/apache/cordova-medic/pulls/59/comments","review_comment_url":"https://api.github.com/repos/apache/cordova-medic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/cordova-medic/issues/59/comments","statuses_url":"https://api.github.com/repos/apache/cordova-medic/statuses/6f72ede307bb7660e8d6943313b47fe19150093f","head":{"label":"MSOpenTech:CB-8936","ref":"CB-8936","sha":"6f72ede307bb7660e8d6943313b47fe19150093f","user":{"login":"MSOpenTech","id":1638184,"avatar_url":"https://avatars.githubusercontent.com/u/1638184?v=3","gravatar_id":"","url":"https://api.github.com/users/MSOpenTech","html_url":"https://github.com/MSOpenTech","followers_url":"https://api.github.com/users/MSOpenTech/followers","following_url":"https://api.github.com/users/MSOpenTech/following{/other_user}","gists_url":"https://api.github.com/users/MSOpenTech/gists{/gist_id}","starred_url":"https://api.github.com/users/MSOpenTech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MSOpenTech/subscriptions","organizations_url":"https://api.github.com/users/MSOpenTech/orgs","repos_url":"https://api.github.com/users/MSOpenTech/repos","events_url":"https://api.github.com/users/MSOpenTech/events{/privacy}","received_events_url":"https://api.github.com/users/MSOpenTech/received_events","type":"Organization","site_admin":false},"repo":{"id":20414076,"name":"cordova-medic","full_name":"MSOpenTech/cordova-medic","owner":{"login":"MSOpenTech","id":1638184,"avatar_url":"https://avatars.githubusercontent.com/u/1638184?v=3","gravatar_id":"","url":"https://api.github.com/users/MSOpenTech","html_url":"https://github.com/MSOpenTech","followers_url":"https://api.github.com/users/MSOpenTech/followers","following_url":"https://api.github.com/users/MSOpenTech/following{/other_user}","gists_url":"https://api.github.com/users/MSOpenTech/gists{/gist_id}","starred_url":"https://api.github.com/users/MSOpenTech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MSOpenTech/subscriptions","organizations_url":"https://api.github.com/users/MSOpenTech/orgs","repos_url":"https://api.github.com/users/MSOpenTech/repos","events_url":"https://api.github.com/users/MSOpenTech/events{/privacy}","received_events_url":"https://api.github.com/users/MSOpenTech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MSOpenTech/cordova-medic","description":"Mirror of Apache Cordova Medic","fork":true,"url":"https://api.github.com/repos/MSOpenTech/cordova-medic","forks_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/forks","keys_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/teams","hooks_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/hooks","issue_events_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/issues/events{/number}","events_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/events","assignees_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/assignees{/user}","branches_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/branches{/branch}","tags_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/tags","blobs_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/git/refs{/sha}","trees_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/statuses/{sha}","languages_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/languages","stargazers_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/stargazers","contributors_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/contributors","subscribers_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/subscribers","subscription_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/subscription","commits_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/commits{/sha}","git_commits_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/git/commits{/sha}","comments_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/comments{/number}","issue_comment_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/issues/comments{/number}","contents_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/contents/{+path}","compare_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/merges","archive_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/downloads","issues_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/issues{/number}","pulls_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/pulls{/number}","milestones_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/milestones{/number}","notifications_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/labels{/name}","releases_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/releases{/id}","created_at":"2014-06-02T18:06:09Z","updated_at":"2015-05-08T18:22:45Z","pushed_at":"2015-08-12T15:24:17Z","git_url":"git://github.com/MSOpenTech/cordova-medic.git","ssh_url":"git@github.com:MSOpenTech/cordova-medic.git","clone_url":"https://github.com/MSOpenTech/cordova-medic.git","svn_url":"https://github.com/MSOpenTech/cordova-medic","homepage":null,"size":2018,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":0,"forks":4,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"d1b2bf7f0ee219e137c863977b7826a852b779a9","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":13641480,"name":"cordova-medic","full_name":"apache/cordova-medic","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/cordova-medic","description":"Mirror of Apache Cordova Medic","fork":false,"url":"https://api.github.com/repos/apache/cordova-medic","forks_url":"https://api.github.com/repos/apache/cordova-medic/forks","keys_url":"https://api.github.com/repos/apache/cordova-medic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/cordova-medic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/cordova-medic/teams","hooks_url":"https://api.github.com/repos/apache/cordova-medic/hooks","issue_events_url":"https://api.github.com/repos/apache/cordova-medic/issues/events{/number}","events_url":"https://api.github.com/repos/apache/cordova-medic/events","assignees_url":"https://api.github.com/repos/apache/cordova-medic/assignees{/user}","branches_url":"https://api.github.com/repos/apache/cordova-medic/branches{/branch}","tags_url":"https://api.github.com/repos/apache/cordova-medic/tags","blobs_url":"https://api.github.com/repos/apache/cordova-medic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/cordova-medic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/cordova-medic/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/cordova-medic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/cordova-medic/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/cordova-medic/languages","stargazers_url":"https://api.github.com/repos/apache/cordova-medic/stargazers","contributors_url":"https://api.github.com/repos/apache/cordova-medic/contributors","subscribers_url":"https://api.github.com/repos/apache/cordova-medic/subscribers","subscription_url":"https://api.github.com/repos/apache/cordova-medic/subscription","commits_url":"https://api.github.com/repos/apache/cordova-medic/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/cordova-medic/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/cordova-medic/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/cordova-medic/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/cordova-medic/contents/{+path}","compare_url":"https://api.github.com/repos/apache/cordova-medic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/cordova-medic/merges","archive_url":"https://api.github.com/repos/apache/cordova-medic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/cordova-medic/downloads","issues_url":"https://api.github.com/repos/apache/cordova-medic/issues{/number}","pulls_url":"https://api.github.com/repos/apache/cordova-medic/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/cordova-medic/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/cordova-medic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/cordova-medic/labels{/name}","releases_url":"https://api.github.com/repos/apache/cordova-medic/releases{/id}","created_at":"2013-10-17T07:00:47Z","updated_at":"2015-08-05T09:16:26Z","pushed_at":"2015-08-13T12:20:09Z","git_url":"git://github.com/apache/cordova-medic.git","ssh_url":"git@github.com:apache/cordova-medic.git","clone_url":"https://github.com/apache/cordova-medic.git","svn_url":"https://github.com/apache/cordova-medic","homepage":null,"size":4342,"stargazers_count":13,"watchers_count":13,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":18,"mirror_url":"git://git.apache.org/cordova-medic.git","open_issues_count":2,"forks":18,"open_issues":2,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/cordova-medic/pulls/59"},"html":{"href":"https://github.com/apache/cordova-medic/pull/59"},"issue":{"href":"https://api.github.com/repos/apache/cordova-medic/issues/59"},"comments":{"href":"https://api.github.com/repos/apache/cordova-medic/issues/59/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/cordova-medic/pulls/59/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/cordova-medic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/cordova-medic/pulls/59/commits"},"statuses":{"href":"https://api.github.com/repos/apache/cordova-medic/statuses/6f72ede307bb7660e8d6943313b47fe19150093f"}}}}