From 041c3f0e2d1f0020f8c30e422094a07bb88b9b2d Mon Sep 17 00:00:00 2001 From: SparkSnail Date: Mon, 28 Oct 2019 12:02:52 +0800 Subject: [PATCH] fix console.log (#1636) --- src/nni_manager/training_service/pai/paiTrainingService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nni_manager/training_service/pai/paiTrainingService.ts b/src/nni_manager/training_service/pai/paiTrainingService.ts index 4e949e7708..27cc8be976 100644 --- a/src/nni_manager/training_service/pai/paiTrainingService.ts +++ b/src/nni_manager/training_service/pai/paiTrainingService.ts @@ -420,7 +420,7 @@ class PAITrainingService implements TrainingService { .replace(/\r\n|\n|\r/gm, ''); // tslint:disable-next-line:no-console - console.log(`nniPAItrial command is ${nniPaiTrialCommand.trim()}`); + this.log.info(`nniPAItrial command is ${nniPaiTrialCommand.trim()}`); const paiTaskRoles : PAITaskRole[] = [ new PAITaskRole( `nni_trail_${trialJobId}`,