Debug & added log

Signed-off-by: imcloudwu <imcloudwu@gmail.com>