Total Pageviews

My YouTube Channel

Tuesday, 15 July 2014

Changing the default log location for VMware vCenter Server (2002125)


This article provides steps to change the default log location for vCenter Server.


To change the default log location from C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\Log to a different directory (for example, D:\VCenterLogs):
  1. Stop the VirtualCenter Server service and VMware VirtualCenter Management Webservcies services. For more information, seeStopping, starting, or restarting vCenter services (1003895).
  2. Back up the vpxd.cfg file. By defualt, the file is located at: 
    • Windows Server 2003 – C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\
    • Windows Server 2008/Windows Server 2008 R2  C:\ProgramData\VMware\VMware VirtualCenter\
  3. Open the vpxd.cfg file using a text editor.
  4. Add this entry within the <log> and </log> tags:<!-- vpxd log directory --> 
    <directory>[Preferred directory]</directory>

    Where [Preferred directory] is the directory within which you want to save the logs.

    For example:

    <!-- vpxd log directory --> 

  5. Save the vpxd.cfg file.
  6. Restart the VMware VirtualCenter Server service and VMware VirtualCenter Management Webservices service. For more information, see Stopping, starting, or restarting vCenter services (1003895).