How to check the nodes updated by a service pack installation

Description

When installing a service pack like AEM 6.5.12.0, you may want to know which nodes are updated. This article explains how to check these nodes with a debug log.

Environment
AEM 6.5

Resolution

Before installing the service pack, configure a debug log for org.apache.jackrabbit.vault.packaging.impl.ActivityLog. The debug log outputs the updated node paths.

  1. Go to Web Console Sling Log Support (http://localhost:4502/system/console/slinglog)
  2. Select “Add new Logger” button
  3. Fill in the following values, then select “save” button

Example configuration:
   - loglevel = DEBUG
   - logfile = logs/activity.log
   - logger = org.apache.jackrabbit.vault.packaging.impl.ActivityLog

  1. Install the service pack
  2. Check the debug log

Example log output:

11.05.2022 19:44:10.726 *DEBUG* OsgiInstallerImpl org.apache.jackrabbit.vault.packaging.impl.ActivityLog - /libs/cq/core/content/projects/dashboard
11.05.2022 19:44:10.726 *DEBUG* OsgiInstallerImpl org.apache.jackrabbit.vault.packaging.impl.ActivityLog - /libs/cq/core/content/projects/dashboard/gadgets/translationjob
11.05.2022 19:44:10.726 *DEBUG* OsgiInstallerImpl org.apache.jackrabbit.vault.packaging.impl.ActivityLog - /libs/cq/core/content/projects/dashboard/gadgets/translationsummary
11.05.2022 19:44:10.726 *DEBUG* OsgiInstallerImpl org.apache.jackrabbit.vault.packaging.impl.ActivityLog - /libs/cq/core/content/projects/dashboard/gadgets/translationjob/jcr:content
11.05.2022 19:44:10.726 *DEBUG* OsgiInstallerImpl org.apache.jackrabbit.vault.packaging.impl.ActivityLog D /libs/cq/core/content/projects/dashboard/gadgets/translationjob/jcr:content/image
11.05.2022 19:44:10.726 *DEBUG* OsgiInstallerImpl org.apache.jackrabbit.vault.packaging.impl.ActivityLog - /libs/cq/core/content/projects/dashboard/gadgets/translationsummary/jcr:content
11.05.2022 19:44:10.726 *DEBUG* OsgiInstallerImpl org.apache.jackrabbit.vault.packaging.impl.ActivityLog D /libs/cq/core/content/projects/dashboard/gadgets/translationsummary/jcr:content/image
11.05.2022 19:44:10.726 *DEBUG* OsgiInstallerImpl org.apache.jackrabbit.vault.packaging.impl.ActivityLog A /libs/cq/core/content/projects/dashboard/gadgets/translationjob/jcr:content/image
11.05.2022 19:44:10.727 *DEBUG* OsgiInstallerImpl org.apache.jackrabbit.vault.packaging.impl.ActivityLog A /libs/cq/core/content/projects/dashboard/gadgets/translationjob/jcr:content/image/file
11.05.2022 19:44:10.727 *DEBUG* OsgiInstallerImpl org.apache.jackrabbit.vault.packaging.impl.ActivityLog A /libs/cq/core/content/projects/dashboard/gadgets/translationjob/jcr:content/image/file/jcr:content
11.05.2022 19:44:10.727 *DEBUG* OsgiInstallerImpl org.apache.jackrabbit.vault.packaging.impl.ActivityLog U /libs/cq/core/content/projects/dashboard/gadgets/translationjob/jcr:content/image/file/jcr:content/jcr:data
11.05.2022 19:44:10.728 *DEBUG* OsgiInstallerImpl org.apache.jackrabbit.vault.packaging.impl.ActivityLog A /libs/cq/core/content/projects/dashboard/gadgets/translationsummary/jcr:content/image
11.05.2022 19:44:10.729 *DEBUG* OsgiInstallerImpl org.apache.jackrabbit.vault.packaging.impl.ActivityLog A /libs/cq/core/content/projects/dashboard/gadgets/translationsummary/jcr:content/image/file
11.05.2022 19:44:10.729 *DEBUG* OsgiInstallerImpl org.apache.jackrabbit.vault.packaging.impl.ActivityLog A /libs/cq/core/content/projects/dashboard/gadgets/translationsummary/jcr:content/image/file/jcr:content
11.05.2022 19:44:10.729 *DEBUG* OsgiInstallerImpl org.apache.jackrabbit.vault.packaging.impl.ActivityLog U /libs/cq/core/content/projects/dashboard/gadgets/translationsummary/jcr:content/image/file/jcr:content/jcr:data
  1. Delete the debug log configuration as needed

On this page