To modify the size of log files or the number of files that are retained, you must modify the vCloud Connector server or node configuration files.

The original configuration file is backed up.


Open the server or node console and log in as admin.

The default password is vmware.


For vCloud Connector server, navigate to /usr/local/tcserver/vfabric-tc-server-standard/server/webapps/hcserver/WEB-INF/classes/logback.xml.


For vCloud Connector node, navigate to /usr/local/tcserver/vfabric-tc-server-standard/agent/webapps/agent/WEB-INF/classes/logback.xml


Adjust the appropriate values in the following XML sections.

<rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
     <fileNamePattern>/opt/vmware/hcserver or hcagent/logs/ or</fileNamePattern>

<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">

To modify the number of files to retain, change rollingPolicy/maxIndex to the desired number.

To modify the size of log files, change triggeringPolicy/maxFileSize to the desired size.


This is the size of a single file, so the total log size could be as large as this value times the maxNumber value. Archived log files are zipped, however, so the total log size is usually much smaller.


Save the file. You do not need to restart.