modify log print
add backtrace function