Include coverage into detecting, create log file when exception occurs