Skip to content

Commit 5d969cb

Browse files
karthiknadigeleanorjboyd
authored andcommitted
Deprecate python logging level setting (microsoft#21083)
Deprecates the logging level setting. The default for logging level from VS Code is Info, so in this PR moved a few items to verbose so that we get the same logging experience. Closes microsoft#20844
1 parent d7ff7c5 commit 5d969cb

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

src/client/interpreter/activation/service.ts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,7 @@ import { EventName } from '../../telemetry/constants';
2626
import { IInterpreterService } from '../contracts';
2727
import { IEnvironmentActivationService } from './types';
2828
import { TraceOptions } from '../../logging/types';
29-
import {
30-
traceDecoratorError,
31-
traceDecoratorVerbose,
32-
traceError,
33-
traceInfo,
34-
traceVerbose,
35-
traceWarn,
36-
} from '../../logging';
29+
import { traceDecoratorError, traceDecoratorVerbose, traceError, traceVerbose, traceWarn } from '../../logging';
3730
import { Conda } from '../../pythonEnvironments/common/environmentManagers/conda';
3831
import { StopWatch } from '../../common/utils/stopWatch';
3932
import { identifyShellFromShellPath } from '../../common/terminal/shellDetectors/baseShellDetector';
@@ -302,7 +295,7 @@ export class EnvironmentActivationService implements IEnvironmentActivationServi
302295
// that's the case, wait and try again. This happens especially on AzDo
303296
const excString = (exc as Error).toString();
304297
if (condaRetryMessages.find((m) => excString.includes(m)) && tryCount < 10) {
305-
traceInfo(`Conda is busy, attempting to retry ...`);
298+
traceVerbose(`Conda is busy, attempting to retry ...`);
306299
result = undefined;
307300
tryCount += 1;
308301
await sleep(500);

0 commit comments

Comments
 (0)