Do not purge runtime logs on app restart. These logs should stay around/accessible for a MINIMUM of 24hrs, but preferably a week so that the customer and DO Support can review them.
I"ve had several technical questions that no one could investigate since the logs were purged