Skip to content
Snippets Groups Projects
Commit 4bf29b8a authored by Peters, Wouter's avatar Peters, Wouter
Browse files

changed name of log file, now using last sample time and not cycle time (already advanced)

parent a7dd282a
Branches
No related tags found
No related merge requests found
......@@ -698,7 +698,7 @@ def CleanUpCycle(DaCycle):
logfile = 'das.o%s'%DaCycle.DaPlatForm.GetMyID()
if os.path.exists(logfile):
joblogfile = os.path.join(jobdir,'cycle.%s.log'%DaCycle['time.start'].strftime('%Y%m%d'))
joblogfile = os.path.join(jobdir,'cycle.%s.log'%DaCycle['time.sample.start'].strftime('%Y%m%d'))
dummy = shutil.move(logfile,joblogfile)
msg = "....Moved %s to %s"%(logfile,joblogfile) ; logging.debug(msg)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment