diff --git a/src/client/common/persistentState.ts b/src/client/common/persistentState.ts index ea86b2e145ba..e82299bfc670 100644 --- a/src/client/common/persistentState.ts +++ b/src/client/common/persistentState.ts @@ -6,7 +6,7 @@ import { inject, injectable, named } from 'inversify'; import { Memento } from 'vscode'; import { IExtensionSingleActivationService } from '../activation/types'; -import { traceError, traceVerbose, traceWarn } from '../logging'; +import { traceError } from '../logging'; import { ICommandManager } from './application/types'; import { Commands } from './constants'; import { @@ -92,12 +92,8 @@ export class PersistentState implements IPersistentState { // Due to a VSCode bug sometimes the changes are not reflected in the storage, atleast not immediately. // It is noticed however that if we reset the storage first and then update it, it works. // https://github.com/microsoft/vscode/issues/171827 - traceVerbose('Storage update failed for key', this.key, ' retrying by resetting first'); await this.updateValue(undefined as any, false); await this.updateValue(newValue, false); - if (JSON.stringify(this.value) != JSON.stringify(newValue)) { - traceWarn('Retry failed, storage update failed for key', this.key); - } } } catch (ex) { traceError('Error while updating storage for key:', this.key, ex); diff --git a/src/client/pythonEnvironments/base/locators/lowLevel/fsWatchingLocator.ts b/src/client/pythonEnvironments/base/locators/lowLevel/fsWatchingLocator.ts index 7565913f0a72..71bd30f7cfdc 100644 --- a/src/client/pythonEnvironments/base/locators/lowLevel/fsWatchingLocator.ts +++ b/src/client/pythonEnvironments/base/locators/lowLevel/fsWatchingLocator.ts @@ -105,9 +105,7 @@ export abstract class FSWatchingLocator extends LazyResourceBasedLocator { } // Start the FS watchers. - traceVerbose('Getting roots'); let roots = await this.getRoots(); - traceVerbose('Found roots'); if (typeof roots === 'string') { roots = [roots]; } diff --git a/src/client/pythonEnvironments/creation/installedPackagesDiagnostic.ts b/src/client/pythonEnvironments/creation/installedPackagesDiagnostic.ts index a46a32ce8276..0a96ff088014 100644 --- a/src/client/pythonEnvironments/creation/installedPackagesDiagnostic.ts +++ b/src/client/pythonEnvironments/creation/installedPackagesDiagnostic.ts @@ -29,7 +29,6 @@ async function setContextForActiveEditor(diagnosticCollection: DiagnosticCollect } // undefined here in the logs means no file was selected - traceVerbose(`Clearing context for python dependencies not installed: ${doc?.uri.fsPath}`); await executeCommand('setContext', DEPS_NOT_INSTALLED_KEY, false); }