Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

Disabling, logging, or storing the log file in a different Location (1232)

Details

This article provides instructions to disable logging and move log files to a different location.

Solution

You may wish to disable logging or move the files to a location with more hard drive space if the log files for your VMware product or virtual machine become too large.

Disabling logging for GSX Server or ESX Server

You can disable logging from the VMware Registration Service (vmware-serverd).

For a Windows host, edit the config.ini file, located in C:\Documents and Settings\All Users\Application Data\VMware\VMware GSX Server. For more information, see Creating and editing config.ini on Windows hosts (1754).

For a GSX Server for Linux host or for an ESX Server, open /etc/vmware/config and add the line:

serverd.log.enabled = "FALSE"

Note: For a GSX Server 2.5 host, add the line to disable all logging on that host:

logging = "FALSE"


Disabling logging for a virtual machine created by a GSX Server or a ESX Server

To disable logging for a single virtual machine, add this entry to your virtual machine's configuration file (.vmx):

logging = "FALSE"

The virtual machine starts up from then on without a log file.
 
Caution: If you require support at a later time, VMware often needs to examine that log file. You may need to enable logging (set logging = "TRUE") before you can get receive support.


Changing a virtual machine's log file location on a GSX Server for Linux Host or an ESX Server

For a virtual machine on an ESX Server system or a GSX Server for Linux host, add the following line to the virtual machine's configuration file:

log.filename = "/tmp/vm1.log"

The log file for this virtual machine is now written to /tmp and is named vm1.log.
 

Caution: Do not use "/dev/null " as the log file name. The log.filename option does not interact well with /dev/null and damages the /dev/null node if you configure your virtual machine this way. The option deletes /dev/null and replaces it with an actual file called /dev/null.

Changing a virtual machine's log file location on a GSX Server for Windows Host

For a virtual machine on a Windows host, add the following line to the virtual machine's configuration file:

log.filename="c:\tmp\vm1.log"
 
The log file is now written to the C:\tmp directory and is named vm1.log.

Keywords

1232; urlz

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 3 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
  • 3 Ratings
Actions
KB: