VCPF-67-000026 - Performance Charts must properly configure log sizes and rotation - MaxBackupIndex

Information

To ensure that the logging mechanism used by the web server has sufficient storage capacity in which to write the logs, the logging mechanism must be able to allocate log record storage capacity. Performance Charts properly sizes and configures log rotation during installation. This default configuration must be verified.

Solution

Open /etc/vmware-perfcharts/log4j.properties with a text editor and add or change the following settings:

log4j.appender.LOGFILE.MaxFileSize=5MB
log4j.appender.LOGFILE.MaxBackupIndex=10

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_6-7_Y23M07_STIG.zip

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-4, CAT|II, CCI|CCI-001849, Rule-ID|SV-239427r879730_rule, STIG-ID|VCPF-67-000026, Vuln-ID|V-239427

Plugin: Unix

Control ID: 59d7e68f2712cf3cfcde1d73107986ab2da5606794ec3b23712f8aad71c2bbed