Silk Road forums

Discussion => Security => Topic started by: TravellingWithoutMoving on January 11, 2012, 08:48 pm

Title: Vmware logging - disable / change log path win & Linux
Post by: TravellingWithoutMoving on January 11, 2012, 08:48 pm
It may be a good idea to change to default location to say an encrypted drive or other location
The default locations are the windooz user profile and program files / programdata locations which may be of concern to some.
The guest specific log should be in the same location as the guest's .vmdk's.
I've not done exhaustive testing with the following, its an attempt to relocate these for security purposes.



Disabling Virtual Machine Logging

To disable logging for a single virtual machine, add the following entry to your virtual machine configuration file (.vmx):
logging = FALSE

The virtual machine will start up from then on without a log file. Keep in mind that if you require support from VMware at some later time, we will often ask for that log file for examination, so this setting may need to be removed.
Changing the Log File Location for Linux Hosts

For Linux host machines, add the following line to your virtual machine configuration file (.vmx):
log.filename = "/tmp/vm1.log"

In the above line, the log file for this virtual machine would be written to /tmp, and would be named vm1.log.

Warning: Do not use "/dev/null" as the log file name. The log.filename option does not interact well with /dev/null and will damage the /dev/null node if you configure your virtual machine this way.
Changing the Log File Location on Windows Hosts

For Windows host machines, add the following line to your virtual machine configuration file (.vmx):
log.filename="c:\tmp\vm1.log"

In the above line, the log file would be written into the C:\tmp directory, and the log file would be named vm1.log.


 ;)
Title: Re: Vmware logging - disable / change log path win & Linux
Post by: v01d on January 11, 2012, 09:04 pm
Thanks for this Travelling. Bound to come in handy to a lot of people.