[SPARK-3562]Periodic cleanup event logs

FileSystem.listStatus() will throw FileNotFoundException and IOException; FileSystem.delete will throw IOException. And I will change it.