clean up debug log