Skip to content

Commit

Permalink
now alerts user where the log is being printed
Browse files Browse the repository at this point in the history
  • Loading branch information
mkeid authored Mar 29, 2017
1 parent 1b89b16 commit 2979ff0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
print('Directory "%s" was created for logging.' % log_dir)
log_path = ''.join([log_dir, str(time.time()), '.log'])
logging.basicConfig(filename=log_path, level=logging.INFO)
print("Printing log to %s" % log_path)


# Parse arguments and assign them to their respective global variables
Expand Down

0 comments on commit 2979ff0

Please sign in to comment.