download logs

QDQuan Deng5/23/2023
I want to download the deploy logs then clear them, how can I do that?