Skip to content

Commit 60996e5

Browse files
committed
log status messages
1 parent 7e4d314 commit 60996e5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/api/BundlePush/BundlePusher.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
"use strict";
1313

14-
import { IHandlerParameters, AbstractSession, ITaskWithStatus, TaskStage } from "@zowe/imperative";
14+
import { IHandlerParameters, AbstractSession, ITaskWithStatus, TaskStage, Logger } from "@zowe/imperative";
1515
import { List, ZosmfSession, SshSession, Shell, Upload, IUploadOptions, ZosFilesAttributes, Create } from "@zowe/cli";
1616
import { BundleDeployer } from "../BundleDeploy/BundleDeployer";
1717
import { Bundle } from "../BundleContent/Bundle";
@@ -354,5 +354,10 @@ export class BundlePusher {
354354
if (this.params.arguments.verbose) {
355355
this.params.response.console.log(status + "\n");
356356
}
357+
358+
if (this.params.arguments.silent === undefined) {
359+
const logger = Logger.getAppLogger();
360+
logger.debug(status);
361+
}
357362
}
358363
}

0 commit comments

Comments
 (0)