rm debug log code