How to automatically delete application server and event_demon logs.