Cleaning up debug logs.