Increase the multicell log collector timeout value in VCD
search cancel

Increase the multicell log collector timeout value in VCD

book

Article ID: 376647

calendar_today

Updated On:

Products

VMware Cloud Director VMware Telco Cloud Platform

Issue/Introduction

  • When collecting logs using the multicell log collector, a log collection timeout occurs if the number or size of the log files specified in the log4j configuration has been increased beyond default values.

Environment

  • VCD 10.x
  • TCP: 3, 4.x, 4.0.1, 5.x, 5.0. 5.0.1, 5.0.2

Cause

  • The default log collection timeout is set to 7 minutes based on the standard log4j allocation (10 files at 10 MB each).
  • Increasing the size or volume of log files causes the log bundle generation process to exceed this standard timeout window.

Resolution

  1. Take a backup or snapshot of all VCD appliance cells before modifying configuration files.
  2. Establish an SSH session to the primary VCD appliance.
  3. Open /opt/vmware/vcloud-director/bin/vmware-vcd-multi-cell-log-collector in a text editor.
  4. Locate the timeout definition parameter: readonly TIMEOUT_IN_MINUTES=7
  5. Update the value to allow additional time for log collection (for example, 20 minutes): readonly TIMEOUT_IN_MINUTES=20
  6. Save the file and repeat Steps 2 through 5 on all remaining VCD cells.
  7. Restart the VCD service across all cells to apply the changes: service vmware-vcd restart

For further details on log collection tools, visit Broadcom Support.