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

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

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_Y22M10_STIG.zip

Item Details

References: CAT|II, CCI|CCI-001849, Rule-ID|SV-239427r675004_rule, STIG-ID|VCPF-67-000026, Vuln-ID|V-239427

Plugin: Unix

Control ID: fd83c7fb0d062c5efc3d3672be089ba4eb997b19cbbc8cd8c83d8caf6976c7ee