Fix debug log format, expand var in debug log entry

Change-Id: Ie5bfaafbb72136cce914854ada1d44e483a43e45
Merge "Fix debug log format, expand var in debug log entry"