Comprehensive Explanation
Log-file rotation is an operational mechanism used in Adobe Experience Manager to prevent continuously growing log files from consuming excessive filesystem capacity.
AEM uses the Apache Sling logging infrastructure, which supports configurable rotation policies based on maximum file size or elapsed time.
Option B represents a principal benefit of size-based rotation. When the active log file reaches its configured threshold, the logging system rotates it and creates a new active log file.
Option C describes the storage-management benefit when rotation is combined with a suitable retention policy. By limiting the number of historical log files retained, administrators can prevent uncontrolled accumulation of diagnostic data.
Option A requires qualification. Rotation does not necessarily delete all previous log files. Instead, older files may be retained as rotated versions, with files beyond the configured retention limit subsequently removed.
Adobe documents configurable settings for the number of log-file versions retained, rotation intervals, and maximum file sizes.
These controls are especially important when DEBUG-level logging is enabled, because verbose diagnostic output can rapidly consume storage.
For production environments, rotation thresholds and retention limits should be selected according to storage capacity, troubleshooting requirements, and applicable log-retention policies.
Verification finding: All three selections match the intended question, but option A is imprecise. Log deletion depends on retention settings, and size limitation depends on the configured rotation strategy.
Official Adobe Reference: Logging — Global Logging; Loggers and Writers for Individual Services.
Batch 5 • Questions 41–50