added log entries to task