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:
-
Access the AEM Web Console Configuration Manager by navigating to
/system/console/configMgron your AEM instance. -
In the Configuration Manager, locate and open Apache Sling Logging Configuration.
-
Confirm the following default values:
- Number of Log Files:
7 - Log File Threshold:
'.'yyyy-MM-dd, which indicates daily rotation
- Number of Log Files:
-
Locate and open Apache Sling Logging Logger Configuration.
-
Confirm that the default Log Level is set to Information (
INFO). -
Note that the default
error.logretains seven files. Other logs, such asrequest.log,upgrade.log,audit.log, andaccess.log, are managed by separate Apache Sling Logging Writer Configuration entries and typically retain five files each. -
To verify the settings, check the log directory on your AEM instance and review the number of retained log files and their rotation pattern.