Update to output log message when task is finished.