modify script for debug log

Signed-off-by: lional <lional.king@gmail.com>