add debug log support
add debug log file
add more debug log support