fix duplicate log issue

Signed-off-by: Du, Changbin <changbin.du@gmail.com>