Portal Home > Knowledgebase > VMware Knowledge Base > Changing the log location of vCenter Server 4.0 Tomcat services

Changing the log location of vCenter Server 4.0 Tomcat services

Purpose

This article provides steps to change the location of sms.logvws.log, and cim-diag.log to another datastore or folder.

Resolution

The vCenter Server plugins process vim.logdir, which comes from the Java service execution command, is responsible for the vCenter Server services logging.
 
To change the log locations, you need to edit the vCenter Server's registry:
  1. Take a full backup of the registry. Do not skip this step.
  2. On the vCenter Server, click Start > Run, type regedit, and press Enter.
  3. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apache Software Foundation\Procrun 2.0\vctomcat\Parameters\Java, then look for Options.

    Note: If you are running a 64-bit operating system or if you are running a 32-bit operating system without Wow6432Node, look under the subkey Java.

  4. Within the Dvim.logdir= key change the drive or path to the new log location.
  5. Restart the VirtualCenter Server service. For more information, see Stopping, starting, or restarting vCenter services (1003895).

Based on VMware KB 

Also Read

Language: