Skip to content

Commit 14e2600

Browse files
authored
(torchx/cli)(bugfix) print dryrun info in CLI rather than using log.info (#714)
1 parent 1de904f commit 14e2600

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

torchx/cli/cmd_run.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,12 +198,12 @@ def _run(self, runner: Runner, args: argparse.Namespace) -> None:
198198
cfg=cfg,
199199
parent_run_id=args.parent_run_id,
200200
)
201-
logger.info(
201+
print(
202202
"\n=== APPLICATION ===\n"
203203
f"{pformat(asdict(dryrun_info._app), indent=2, width=80)}"
204204
)
205205

206-
logger.info("\n=== SCHEDULER REQUEST ===\n" f"{dryrun_info}")
206+
print("\n=== SCHEDULER REQUEST ===\n" f"{dryrun_info}")
207207
else:
208208
app_handle = runner.run_component(
209209
component,

0 commit comments

Comments
 (0)