Skip to content

Commit 8fb2eea

Browse files
committed
Downgrade trace level to debug
1 parent e126fa9 commit 8fb2eea

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

extensions/positron-r/src/test/mocha-setup.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ import * as testKit from './kit';
99
export let currentTestName: string | undefined;
1010

1111
suiteSetup(async () => {
12-
// Set global Positron log level to trace for easier debugging
13-
await vscode.commands.executeCommand('_extensionTests.setLogLevel', 'trace');
12+
// Set global Positron log level to debug on CI for easier debugging
13+
if (process.env.CI) {
14+
await vscode.commands.executeCommand('_extensionTests.setLogLevel', 'debug');
15+
}
1416

1517
// Set Ark kernel process log level to trace
1618
await vscode.workspace.getConfiguration().update('positron.r.kernel.logLevel', 'trace', vscode.ConfigurationTarget.Global);

0 commit comments

Comments
 (0)