Skip to content

Commit cc4a83f

Browse files
authored
1 parent 4ade07f commit cc4a83f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/vs/workbench/contrib/logs/electron-sandbox/logLevelService.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import { LogLevelService as CommonLogLevelService } from 'vs/workbench/contrib/l
1010
import { remotePtyHostLog, remoteServerLog, sharedLogChannelId, userDataSyncLogChannelId } from 'vs/workbench/contrib/logs/common/logConstants';
1111
import { LogLevelChannelClient } from 'vs/platform/log/common/logIpc';
1212
import { IRemoteAgentService } from 'vs/workbench/services/remote/common/remoteAgentService';
13+
import { LOG_CHANNEL_ID as remoteTunnelLogChannelId } from 'vs/platform/remoteTunnel/common/remoteTunnel';
1314

1415
export class LogLevelService extends CommonLogLevelService {
1516

@@ -32,7 +33,7 @@ export class LogLevelService extends CommonLogLevelService {
3233
const resource = channel?.log ? channel.file : undefined;
3334

3435
LogLevelChannelClient.setLevel(this.mainProcessService.getChannel('logLevel'), logLevel, resource);
35-
if (id === sharedLogChannelId || id === userDataSyncLogChannelId) {
36+
if (id === sharedLogChannelId || id === userDataSyncLogChannelId || id === remoteTunnelLogChannelId) {
3637
LogLevelChannelClient.setLevel(this.sharedProcessService.getChannel('logLevel'), logLevel, resource);
3738
return true;
3839
}

0 commit comments

Comments
 (0)