Default log rotation, retention, and log level settings in AEM 6.5 LTS

This article explains the default values for log rotation, the number of retained log files, and the global log level in Adobe Experience Manager (AEM) 6.5 LTS, and how to confirm these settings using the Web Console.

Description description

Environment

Adobe Experience Manager 6.5 LTS

Issue/Symptoms

  • You need to confirm the default log rotation schedule and retained log file count.
  • You need to confirm the default global log level.

Cause

You encounter this uncertainty because the default log rotation, retention, and log level values are controlled by the Apache Sling Logging configurations in AEM 6.5 LTS.

Resolution resolution

To verify the default logging configuration, follow these steps:

  1. Access the AEM Web Console Configuration Manager by navigating to /system/console/configMgr on your AEM instance.

  2. In the Configuration Manager, locate and open Apache Sling Logging Configuration.

  3. Confirm the following default values:

    • Number of Log Files: 7
    • Log File Threshold: '.'yyyy-MM-dd, which indicates daily rotation
  4. Locate and open Apache Sling Logging Logger Configuration.

  5. Confirm that the default Log Level is set to Information (INFO).

  6. Note that the default error.log retains seven files. Other logs, such as request.log, upgrade.log, audit.log, and access.log, are managed by separate Apache Sling Logging Writer Configuration entries and typically retain five files each.

  7. To verify the settings, check the log directory on your AEM instance and review the number of retained log files and their rotation pattern.

recommendation-more-help
experience-cloud-kcs-help-kbarticles