Removes rogue console logs.