added logging attribute to task_base template