[SPARK-3562]Periodic cleanup event logs

link #2391 
nit: should be up there with other java imports