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 running instance console and log on as admin.

The default password is vmware.


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


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


Adjust the appropriate values in the following XML snippets:

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