Archival and cleanup is possible for Logs and Data Files via settings defined on log-cleanup.propertiesfile by enabling and defining archival and cleanup schedules. Archival sections have to be setup as per documentation and are not enabled by default.
...