[SPARK-3562]Periodic cleanup event logs

link #2391 
I might have suggested this before... but I think there should be a `try..catch` here so that you try other directories if there is an issue deleting one (e.g. if it was created with the wrong permissions).