Skip to content

Commit b5ac86a

Browse files
committed
Change log level trace to info in auto tasks
Part of microsoft/vscode-remote-release#5309
1 parent e4efcb3 commit b5ac86a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/vs/workbench/contrib/tasks/browser/runAutomaticTasks.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,21 +35,21 @@ export class RunAutomaticTasks extends Disposable implements IWorkbenchContribut
3535
}
3636

3737
private async tryRunTasks() {
38-
this.logService.trace('RunAutomaticTasks: Trying to run tasks.');
38+
this.logService.info('RunAutomaticTasks: Trying to run tasks.');
3939
// Wait until we have task system info (the extension host and workspace folders are available).
4040
if (!this.taskService.hasTaskSystemInfo) {
41-
this.logService.trace('RunAutomaticTasks: Awaiting task system info.');
41+
this.logService.info('RunAutomaticTasks: Awaiting task system info.');
4242
await Event.toPromise(Event.once(this.taskService.onDidChangeTaskSystemInfo));
4343
}
4444

45-
this.logService.trace('RunAutomaticTasks: Checking if automatic tasks should run.');
45+
this.logService.info('RunAutomaticTasks: Checking if automatic tasks should run.');
4646
const isFolderAutomaticAllowed = this.storageService.getBoolean(ARE_AUTOMATIC_TASKS_ALLOWED_IN_WORKSPACE, StorageScope.WORKSPACE, undefined);
4747
const isWorkspaceTrusted = this.workspaceTrustManagementService.isWorkspaceTrusted();
4848
// Only run if allowed. Prompting for permission occurs when a user first tries to run a task.
4949
if (isFolderAutomaticAllowed && isWorkspaceTrusted) {
5050
this.taskService.getWorkspaceTasks(TaskRunSource.FolderOpen).then(workspaceTaskResult => {
5151
let { tasks } = RunAutomaticTasks.findAutoTasks(this.taskService, workspaceTaskResult);
52-
this.logService.trace(`RunAutomaticTasks: Found ${tasks.length} automatic tasks tasks`);
52+
this.logService.info(`RunAutomaticTasks: Found ${tasks.length} automatic tasks tasks`);
5353

5454
if (tasks.length > 0) {
5555
RunAutomaticTasks.runTasks(this.taskService, tasks);

0 commit comments

Comments
 (0)