improve curietasker logging
@@ -86,11 +86,11 @@ def tasker(options):
for task in list(options.tasklist):
if not task.is_alive():
- log.info(f"<== Task [{task.name}] finished (was started at {task.start_time}).")
+ log.info(f"<== Task [{task.name}] ({task.taskid}) finished (was started at {task.start_time}).")
task.join()
options.tasklist.remove(task)
else:
- log.info(f"STATUS: Task [{task.name}] still running (was started at {task.start_time}.")
+ log.info(f"STATUS: Task [{task.name}] ({task.taskid}) still running (was started at {task.start_time}.")
log.info(f"STATUS: {len(options.tasklist)} tasks still running")
options.timemark = next_timemark
