Archive

Archive for the ‘vsphere’ Category

Seven rolling logs – vSphere log files

July 4th, 2011 No comments

Each time a VM is powered on, a new log file is created in the main directory of the VM. These files all have a ".log" extension and the active log file is named vmware.log (though this can be defined in the VMX configuration file.)

VMware records the key events affecting each VM in the log files.

At VM start, the  oldest log file is deleted, the vmware.log file is renamed by appending a "-##" sequence and a new vmware.log file is created. For example, here are some of the files in a VM before starting. Note the vmware.log file has a size of 487,490 bytes and is date stamped Jun 18.

ScreenClip(70)

The VM is started and you can see that the old vmware.log file is now called vmware-19.log. Also, vmware-13.log is gone.

ScreenClip(69)

If we restarte the VM, the same thing happens: vmware-14.log is gone and a new one is begun.

ScreenClip(68)

You can find more about VMware files that make up a VM at this link.

Categories: vsphere Tags: ,