add debug log

Signed-off-by: Jianmin Zhou <toandrew@infthink.com>