Add workflow trace logging in engine v2

Closes-bug: #1373728

Change-Id: I4f3f4c52ab938b9618221d7fa50400032db8c3f9
Merge "Add workflow trace logging in engine v2"