Erase logs in code