[SPARK-3562]Periodic cleanup event logs

link #2391 
a.k.a.

    Duration(4, TimeUnit.DAYS).toSeconds()