Skip to content

Commit

Permalink
execution logging: recreate the cmd-line
Browse files Browse the repository at this point in the history
Expand the command line arguments to recreate the original
command line invocation.
  • Loading branch information
nzmora committed Feb 6, 2019
1 parent 3ca2985 commit b82fca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apputils/execution_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def log_git_state():
logger.debug("PyTorch: %s", torch.__version__)
logger.debug("Numpy: %s", np.__version__)
log_git_state()
logger.debug("App args: %s", app_args)
logger.debug("Command line: %s", " ".join(app_args))


def config_pylogger(log_cfg_file, experiment_name, output_dir='logs'):
Expand Down

0 comments on commit b82fca4

Please sign in to comment.