Increase the VMware Cloud Director multicell log collector timeout value
search cancel

Increase the VMware Cloud Director multicell log collector timeout value

book

Article ID: 376647

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

If you have increased the number or size of the any of the log files listed in the log4j file, you may experience a log collection timeout.

Environment

All Cloud Director versions

Cause

The standard debug log values in the log4j file are 10 files at 10MB. The standard timeout setting is 7 minutes.

Resolution

There is a bash script called vmware-vcd-multi-cell-log-collector located in /opt/vmware/vcloud-director/bin/

To increase the timeout, change

readonly TIMEOUT_IN_MINUTES=7

to

readonly TIMEOUT_IN_MINUTES=20

This will give the cell log collector 20 minutes to generate the bundles.

Change the value on all appliances and restart the vcd service:

service vmware-vcd restart