Log task ID when the task status changes

This patch adds the task ID to the existing log messages which
occur when the task status changes, whether successful or a
failure.

Change-Id: Ie1ebdd92805370b706d8d9eec29d1b433095369a
Closes-Bug: 1358888