src/vs/workbench/contrib/logs/electron-sandbox/logLevelService.ts/LogLevelService/setLogLevel
class LogLevelService:	override setLogLevel(id: string, logLevel: LogLevel): boolean {
		if (!super.setLogLevel(id, logLevel)) {
			return false;
		}

		const channel = this.outputService.getChannelDescriptor(id);
		const resource = channel?.log ? channel.file : undefined;

		LogLevelChannelClient.setLevel(this.mainProcessService.getChannel('logLevel'), logLevel, resource);
		if (id === sharedLogChannelId || id === userDataSyncLogChannelId || id === remoteTunnelLogChannelId) {
			LogLevelChannelClient.setLevel(this.sharedProcessService.getChannel('logLevel'), logLevel, resource);
			return true;
		}

		const connection = this.remoteAgentService.getConnection();
		if ((id === remoteServerLog || id === remotePtyHostLog) && connection) {
			connection.withChannel('logger', (channel) => LogLevelChannelClient.setLevel(channel, logLevel, resource));
			return true;
		}

		return true;
	}