From b45aca4be62956f091be76bbfabc3b7ea58e691b Mon Sep 17 00:00:00 2001 From: Alex Ross Date: Wed, 8 Nov 2023 12:38:21 +0100 Subject: [PATCH] Remove very noisy graphql trace logging (#5451) --- src/github/githubRepository.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/github/githubRepository.ts b/src/github/githubRepository.ts index 4d1dc6a7df..835c83a9cf 100644 --- a/src/github/githubRepository.ts +++ b/src/github/githubRepository.ts @@ -235,7 +235,6 @@ export class GitHubRepository implements vscode.Disposable { } as any; } - Logger.trace(`Request: ${JSON.stringify(query, null, 2)}`, GRAPHQL_COMPONENT_ID); let rsp; try { rsp = await gql.query(query); @@ -266,7 +265,6 @@ export class GitHubRepository implements vscode.Disposable { throw e; } } - Logger.trace(`Response: ${JSON.stringify(rsp, null, 2)}`, GRAPHQL_COMPONENT_ID); return rsp; }; @@ -282,7 +280,6 @@ export class GitHubRepository implements vscode.Disposable { } as any; } - Logger.trace(`Request: ${JSON.stringify(mutation, null, 2)}`, GRAPHQL_COMPONENT_ID); let rsp; try { rsp = await gql.mutate(mutation); @@ -300,7 +297,6 @@ export class GitHubRepository implements vscode.Disposable { } throw e; } - Logger.trace(`Response: ${JSON.stringify(rsp, null, 2)}`, GRAPHQL_COMPONENT_ID); return rsp; };