infraprofile-access.*.log files are not rotated in vCenter Server 7.0 and 8.0
search cancel

infraprofile-access.*.log files are not rotated in vCenter Server 7.0 and 8.0

book

Article ID: 425842

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

In vCenter Server 7.0 and 8.0, log files named infraprofile-access.*.log in the /storage/log/vmware/infraprofile directory are not being rotated correctly.

Over time, these log files accumulate and may lead to disk space exhaustion in the /storage/log partition.

Environment

vCenter Server 7.0
vCenter Server 8.0

Cause

This issue is caused by a known logging configuration defect in certain versions of vCenter Server.

Resolution

The issue is fixed in vCenter Server 8.0 Update 2, available at Broadcom downloads.

If you are having difficulty finding and downloading software, please review the Download Broadcom products and software KB.

Additional Information

To mitigate the disk space issue, you can safely delete older log files using the command line.
The following procedure describes how to remove logs older than 14 days.

  1. Log in to the vCenter Server via SSH as root.
  2. Run the following command to delete log files older than 14 days:
    # find /storage/log/vmware/infraprofile -mtime +14 -type f -name infraprofile-access-.*.log -delete