add defect log for testify