diff --git a/plogical/upgrade.py b/plogical/upgrade.py index 36dcf9d1b..001de486c 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -116,7 +116,11 @@ def stdOut(message, do_exit=0): "%m.%d.%Y_%H-%M-%S") + "] #########################################################################\n")) WriteToFile = open(Upgrade.LogPathNew, 'a') - WriteToFile.write(message) + WriteToFile.write(("[" + time.strftime( + "%m.%d.%Y_%H-%M-%S") + "] #########################################################################\n")) + WriteToFile.write(("[" + time.strftime("%m.%d.%Y_%H-%M-%S") + "] " + message + "\n")) + WriteToFile.write(("[" + time.strftime( + "%m.%d.%Y_%H-%M-%S") + "] #########################################################################\n")) WriteToFile.close() if do_exit: