Add log related stuff for more debug information. Tracked-On: #4514 Signed-off-by: Tw <wei.tan@intel.com>