[SPARK-3562]Periodic cleanup event logs

link #2391 
@vanzin  sorry, i do not what you means. do you means that do not throw Throwable?