[SPARK-3562]Periodic cleanup event logs

Pretty sure you don't want to clean logs on initialization. Otherwise your history server will always display nothing!