Write to logger when starting task.