[SPARK-3562]Periodic cleanup event logs

link #2391 
nit: this should come before the `org.hadoop.` import (and be in the same "group").