{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/vscode-java-test/pulls/comments/238919163","pull_request_review_id":181576836,"id":238919163,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzODkxOTE2Mw==","diff_hunk":"@@ -0,0 +1,25 @@\n+// Copyright (c) Microsoft Corporation. All rights reserved.\n+// Licensed under the MIT license.\n+\n+import * as fse from 'fs-extra';\n+import * as path from 'path';\n+import { TextDocument, ViewColumn, window, workspace } from 'vscode';\n+import { LOG_FILE_NAME } from '../constants/configs';\n+import { logger } from '../logger/logger';\n+import { outputChannelTransport } from '../logger/outputChannelTransport';\n+\n+export async function openLogFile(storagePath: string): Promise<void> {\n+    const logFilePath: string = path.join(storagePath, LOG_FILE_NAME);\n+    if (!await fse.pathExists(logFilePath)) {\n+        const errorMsg: string = 'The log file does not exists.';","path":"src/commands/logCommands.ts","position":14,"original_position":14,"commit_id":"02761368664cd6ff5764df1b0e9d8492f431f14b","original_commit_id":"02761368664cd6ff5764df1b0e9d8492f431f14b","user":{"login":"yaohaizh","id":17268517,"node_id":"MDQ6VXNlcjE3MjY4NTE3","avatar_url":"https://avatars0.githubusercontent.com/u/17268517?v=4","gravatar_id":"","url":"https://api.github.com/users/yaohaizh","html_url":"https://github.com/yaohaizh","followers_url":"https://api.github.com/users/yaohaizh/followers","following_url":"https://api.github.com/users/yaohaizh/following{/other_user}","gists_url":"https://api.github.com/users/yaohaizh/gists{/gist_id}","starred_url":"https://api.github.com/users/yaohaizh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yaohaizh/subscriptions","organizations_url":"https://api.github.com/users/yaohaizh/orgs","repos_url":"https://api.github.com/users/yaohaizh/repos","events_url":"https://api.github.com/users/yaohaizh/events{/privacy}","received_events_url":"https://api.github.com/users/yaohaizh/received_events","type":"User","site_admin":false},"body":"exists ==> exist","created_at":"2018-12-05T03:13:48Z","updated_at":"2018-12-05T03:13:48Z","html_url":"https://github.com/Microsoft/vscode-java-test/pull/497#discussion_r238919163","pull_request_url":"https://api.github.com/repos/Microsoft/vscode-java-test/pulls/497","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/vscode-java-test/pulls/comments/238919163"},"html":{"href":"https://github.com/Microsoft/vscode-java-test/pull/497#discussion_r238919163"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/vscode-java-test/pulls/497"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/vscode-java-test/pulls/497","id":236028181,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2MDI4MTgx","html_url":"https://github.com/Microsoft/vscode-java-test/pull/497","diff_url":"https://github.com/Microsoft/vscode-java-test/pull/497.diff","patch_url":"https://github.com/Microsoft/vscode-java-test/pull/497.patch","issue_url":"https://api.github.com/repos/Microsoft/vscode-java-test/issues/497","number":497,"state":"open","locked":false,"title":"Add support to persist logs","user":{"login":"jdneo","id":6193897,"node_id":"MDQ6VXNlcjYxOTM4OTc=","avatar_url":"https://avatars1.githubusercontent.com/u/6193897?v=4","gravatar_id":"","url":"https://api.github.com/users/jdneo","html_url":"https://github.com/jdneo","followers_url":"https://api.github.com/users/jdneo/followers","following_url":"https://api.github.com/users/jdneo/following{/other_user}","gists_url":"https://api.github.com/users/jdneo/gists{/gist_id}","starred_url":"https://api.github.com/users/jdneo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdneo/subscriptions","organizations_url":"https://api.github.com/users/jdneo/orgs","repos_url":"https://api.github.com/users/jdneo/repos","events_url":"https://api.github.com/users/jdneo/events{/privacy}","received_events_url":"https://api.github.com/users/jdneo/received_events","type":"User","site_admin":false},"body":"Resolve #452\r\n\r\nWill also fix #429 ","created_at":"2018-12-05T02:42:21Z","updated_at":"2018-12-05T03:13:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7cf3bee41e591d15acc0f2d711d85cfea8e14b15","assignee":null,"assignees":[],"requested_reviewers":[{"login":"Eskibear","id":2351748,"node_id":"MDQ6VXNlcjIzNTE3NDg=","avatar_url":"https://avatars1.githubusercontent.com/u/2351748?v=4","gravatar_id":"","url":"https://api.github.com/users/Eskibear","html_url":"https://github.com/Eskibear","followers_url":"https://api.github.com/users/Eskibear/followers","following_url":"https://api.github.com/users/Eskibear/following{/other_user}","gists_url":"https://api.github.com/users/Eskibear/gists{/gist_id}","starred_url":"https://api.github.com/users/Eskibear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eskibear/subscriptions","organizations_url":"https://api.github.com/users/Eskibear/orgs","repos_url":"https://api.github.com/users/Eskibear/repos","events_url":"https://api.github.com/users/Eskibear/events{/privacy}","received_events_url":"https://api.github.com/users/Eskibear/received_events","type":"User","site_admin":false},{"login":"testforstephen","id":14052197,"node_id":"MDQ6VXNlcjE0MDUyMTk3","avatar_url":"https://avatars3.githubusercontent.com/u/14052197?v=4","gravatar_id":"","url":"https://api.github.com/users/testforstephen","html_url":"https://github.com/testforstephen","followers_url":"https://api.github.com/users/testforstephen/followers","following_url":"https://api.github.com/users/testforstephen/following{/other_user}","gists_url":"https://api.github.com/users/testforstephen/gists{/gist_id}","starred_url":"https://api.github.com/users/testforstephen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/testforstephen/subscriptions","organizations_url":"https://api.github.com/users/testforstephen/orgs","repos_url":"https://api.github.com/users/testforstephen/repos","events_url":"https://api.github.com/users/testforstephen/events{/privacy}","received_events_url":"https://api.github.com/users/testforstephen/received_events","type":"User","site_admin":false},{"login":"akaroml","id":16755094,"node_id":"MDQ6VXNlcjE2NzU1MDk0","avatar_url":"https://avatars2.githubusercontent.com/u/16755094?v=4","gravatar_id":"","url":"https://api.github.com/users/akaroml","html_url":"https://github.com/akaroml","followers_url":"https://api.github.com/users/akaroml/followers","following_url":"https://api.github.com/users/akaroml/following{/other_user}","gists_url":"https://api.github.com/users/akaroml/gists{/gist_id}","starred_url":"https://api.github.com/users/akaroml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akaroml/subscriptions","organizations_url":"https://api.github.com/users/akaroml/orgs","repos_url":"https://api.github.com/users/akaroml/repos","events_url":"https://api.github.com/users/akaroml/events{/privacy}","received_events_url":"https://api.github.com/users/akaroml/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":{"url":"https://api.github.com/repos/Microsoft/vscode-java-test/milestones/11","html_url":"https://github.com/Microsoft/vscode-java-test/milestone/11","labels_url":"https://api.github.com/repos/Microsoft/vscode-java-test/milestones/11/labels","id":3845422,"node_id":"MDk6TWlsZXN0b25lMzg0NTQyMg==","number":11,"title":"0.12.0","description":"","creator":{"login":"jdneo","id":6193897,"node_id":"MDQ6VXNlcjYxOTM4OTc=","avatar_url":"https://avatars1.githubusercontent.com/u/6193897?v=4","gravatar_id":"","url":"https://api.github.com/users/jdneo","html_url":"https://github.com/jdneo","followers_url":"https://api.github.com/users/jdneo/followers","following_url":"https://api.github.com/users/jdneo/following{/other_user}","gists_url":"https://api.github.com/users/jdneo/gists{/gist_id}","starred_url":"https://api.github.com/users/jdneo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdneo/subscriptions","organizations_url":"https://api.github.com/users/jdneo/orgs","repos_url":"https://api.github.com/users/jdneo/repos","events_url":"https://api.github.com/users/jdneo/events{/privacy}","received_events_url":"https://api.github.com/users/jdneo/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":24,"state":"open","created_at":"2018-11-25T05:02:48Z","updated_at":"2018-12-05T02:42:21Z","due_on":"2018-12-14T08:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/Microsoft/vscode-java-test/pulls/497/commits","review_comments_url":"https://api.github.com/repos/Microsoft/vscode-java-test/pulls/497/comments","review_comment_url":"https://api.github.com/repos/Microsoft/vscode-java-test/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/vscode-java-test/issues/497/comments","statuses_url":"https://api.github.com/repos/Microsoft/vscode-java-test/statuses/02761368664cd6ff5764df1b0e9d8492f431f14b","head":{"label":"Microsoft:cs/winston","ref":"cs/winston","sha":"02761368664cd6ff5764df1b0e9d8492f431f14b","user":{"login":"Microsoft","id":6154722,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=","avatar_url":"https://avatars2.githubusercontent.com/u/6154722?v=4","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":110522074,"node_id":"MDEwOlJlcG9zaXRvcnkxMTA1MjIwNzQ=","name":"vscode-java-test","full_name":"Microsoft/vscode-java-test","private":false,"owner":{"login":"Microsoft","id":6154722,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=","avatar_url":"https://avatars2.githubusercontent.com/u/6154722?v=4","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Microsoft/vscode-java-test","description":"Run and debug Java test cases in Visual Studio Code.","fork":false,"url":"https://api.github.com/repos/Microsoft/vscode-java-test","forks_url":"https://api.github.com/repos/Microsoft/vscode-java-test/forks","keys_url":"https://api.github.com/repos/Microsoft/vscode-java-test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/vscode-java-test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/vscode-java-test/teams","hooks_url":"https://api.github.com/repos/Microsoft/vscode-java-test/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/vscode-java-test/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/vscode-java-test/events","assignees_url":"https://api.github.com/repos/Microsoft/vscode-java-test/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/vscode-java-test/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/vscode-java-test/tags","blobs_url":"https://api.github.com/repos/Microsoft/vscode-java-test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/vscode-java-test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/vscode-java-test/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/vscode-java-test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/vscode-java-test/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/vscode-java-test/languages","stargazers_url":"https://api.github.com/repos/Microsoft/vscode-java-test/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/vscode-java-test/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/vscode-java-test/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/vscode-java-test/subscription","commits_url":"https://api.github.com/repos/Microsoft/vscode-java-test/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/vscode-java-test/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/vscode-java-test/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/vscode-java-test/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/vscode-java-test/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/vscode-java-test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/vscode-java-test/merges","archive_url":"https://api.github.com/repos/Microsoft/vscode-java-test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/vscode-java-test/downloads","issues_url":"https://api.github.com/repos/Microsoft/vscode-java-test/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/vscode-java-test/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/vscode-java-test/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/vscode-java-test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/vscode-java-test/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/vscode-java-test/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/vscode-java-test/deployments","created_at":"2017-11-13T08:40:43Z","updated_at":"2018-12-04T05:09:03Z","pushed_at":"2018-12-05T02:42:22Z","git_url":"git://github.com/Microsoft/vscode-java-test.git","ssh_url":"git@github.com:Microsoft/vscode-java-test.git","clone_url":"https://github.com/Microsoft/vscode-java-test.git","svn_url":"https://github.com/Microsoft/vscode-java-test","homepage":"https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-test","size":6156,"stargazers_count":62,"watchers_count":62,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"archived":false,"open_issues_count":57,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":23,"open_issues":57,"watchers":62,"default_branch":"master"}},"base":{"label":"Microsoft:master","ref":"master","sha":"b8a1f4f1691d847109f7c6e50f0eb070c6cfe76d","user":{"login":"Microsoft","id":6154722,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=","avatar_url":"https://avatars2.githubusercontent.com/u/6154722?v=4","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":110522074,"node_id":"MDEwOlJlcG9zaXRvcnkxMTA1MjIwNzQ=","name":"vscode-java-test","full_name":"Microsoft/vscode-java-test","private":false,"owner":{"login":"Microsoft","id":6154722,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=","avatar_url":"https://avatars2.githubusercontent.com/u/6154722?v=4","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Microsoft/vscode-java-test","description":"Run and debug Java test cases in Visual Studio Code.","fork":false,"url":"https://api.github.com/repos/Microsoft/vscode-java-test","forks_url":"https://api.github.com/repos/Microsoft/vscode-java-test/forks","keys_url":"https://api.github.com/repos/Microsoft/vscode-java-test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/vscode-java-test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/vscode-java-test/teams","hooks_url":"https://api.github.com/repos/Microsoft/vscode-java-test/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/vscode-java-test/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/vscode-java-test/events","assignees_url":"https://api.github.com/repos/Microsoft/vscode-java-test/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/vscode-java-test/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/vscode-java-test/tags","blobs_url":"https://api.github.com/repos/Microsoft/vscode-java-test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/vscode-java-test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/vscode-java-test/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/vscode-java-test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/vscode-java-test/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/vscode-java-test/languages","stargazers_url":"https://api.github.com/repos/Microsoft/vscode-java-test/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/vscode-java-test/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/vscode-java-test/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/vscode-java-test/subscription","commits_url":"https://api.github.com/repos/Microsoft/vscode-java-test/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/vscode-java-test/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/vscode-java-test/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/vscode-java-test/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/vscode-java-test/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/vscode-java-test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/vscode-java-test/merges","archive_url":"https://api.github.com/repos/Microsoft/vscode-java-test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/vscode-java-test/downloads","issues_url":"https://api.github.com/repos/Microsoft/vscode-java-test/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/vscode-java-test/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/vscode-java-test/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/vscode-java-test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/vscode-java-test/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/vscode-java-test/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/vscode-java-test/deployments","created_at":"2017-11-13T08:40:43Z","updated_at":"2018-12-04T05:09:03Z","pushed_at":"2018-12-05T02:42:22Z","git_url":"git://github.com/Microsoft/vscode-java-test.git","ssh_url":"git@github.com:Microsoft/vscode-java-test.git","clone_url":"https://github.com/Microsoft/vscode-java-test.git","svn_url":"https://github.com/Microsoft/vscode-java-test","homepage":"https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-test","size":6156,"stargazers_count":62,"watchers_count":62,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"archived":false,"open_issues_count":57,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":23,"open_issues":57,"watchers":62,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/vscode-java-test/pulls/497"},"html":{"href":"https://github.com/Microsoft/vscode-java-test/pull/497"},"issue":{"href":"https://api.github.com/repos/Microsoft/vscode-java-test/issues/497"},"comments":{"href":"https://api.github.com/repos/Microsoft/vscode-java-test/issues/497/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/vscode-java-test/pulls/497/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/vscode-java-test/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/vscode-java-test/pulls/497/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/vscode-java-test/statuses/02761368664cd6ff5764df1b0e9d8492f431f14b"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"yaohaizh"}}