change activity name to task and do more informative logging