added log task.