Add the log entry after we know the job is successful

Change-Id: I92595eaf6509567d63ee710fefc57441e5f943c7
Merge "Add the log entry after we know the job is successful"