From cc4a83fb09409356d5d7f87d28ca51f76383a7c1 Mon Sep 17 00:00:00 2001 From: Sandeep Somavarapu Date: Mon, 28 Nov 2022 15:26:12 +0100 Subject: [PATCH] fix #167048 (#167404) --- .../workbench/contrib/logs/electron-sandbox/logLevelService.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/vs/workbench/contrib/logs/electron-sandbox/logLevelService.ts b/src/vs/workbench/contrib/logs/electron-sandbox/logLevelService.ts index de269ec1db2..323d8e30dec 100644 --- a/src/vs/workbench/contrib/logs/electron-sandbox/logLevelService.ts +++ b/src/vs/workbench/contrib/logs/electron-sandbox/logLevelService.ts @@ -10,6 +10,7 @@ import { LogLevelService as CommonLogLevelService } from 'vs/workbench/contrib/l import { remotePtyHostLog, remoteServerLog, sharedLogChannelId, userDataSyncLogChannelId } from 'vs/workbench/contrib/logs/common/logConstants'; import { LogLevelChannelClient } from 'vs/platform/log/common/logIpc'; import { IRemoteAgentService } from 'vs/workbench/services/remote/common/remoteAgentService'; +import { LOG_CHANNEL_ID as remoteTunnelLogChannelId } from 'vs/platform/remoteTunnel/common/remoteTunnel'; export class LogLevelService extends CommonLogLevelService { @@ -32,7 +33,7 @@ export class LogLevelService extends CommonLogLevelService { const resource = channel?.log ? channel.file : undefined; LogLevelChannelClient.setLevel(this.mainProcessService.getChannel('logLevel'), logLevel, resource); - if (id === sharedLogChannelId || id === userDataSyncLogChannelId) { + if (id === sharedLogChannelId || id === userDataSyncLogChannelId || id === remoteTunnelLogChannelId) { LogLevelChannelClient.setLevel(this.sharedProcessService.getChannel('logLevel'), logLevel, resource); return true; }