Note that offline compaction requires a long duration of downtime from 30 minutes to 7 hours (and in extreme cases more time).
Offline Oak compaction with debug logging:
- Stop Oak / AEM
- Install the latest Oak hotfix to your AEM instance:
- AEM 6.0 - https://helpx.adobe.com/experience-manager/kb/aem6-available-hotfixes.html
- AEM 6.1 - https://helpx.adobe.com/experience-manager/kb/aem61-available-hotfixes.html
- AEM 6.2 - https://helpx.adobe.com/experience-manager/kb/aem62-available-hotfixes.html
- Later - https://helpx.adobe.com/experience-manager/aem-releases-updates.html