Quantcast
Channel: VMware Communities : Discussion List - Virtual Machine, Guest OS and VM Tools
Viewing all articles
Browse latest Browse all 1961

VM log files in vSPhere 5.5

$
0
0

Attention gurus:

 

I am confused about something I just read in a VMware KB:  VMware KB: Log rotation and logging options for vmware.log

 

Here it is:

 

http://kb.vmware.com/selfservice/microsites/nullThe log.rotateSize setting

By default, the virtual machine log file ( vmware.log) is rotated as a result of the virtual machine's Power On or Power Off operation. 

To configure log rotation based on file size, include this option in the virtual machine's .vmx file:

log.rotateSize = <maximum size in bytes the file can grow to>

 

Note:  

  1. The default value is 0 or Unlimited. 
  2. This parameter is supported only in hosts prior to ESXi 5.1

 

 

NOTE that I have place #2 above in bold print and underlined it.  Is this for real?  You can't adjust this setting in 5.1?   This has to be a mistake because I created the parameter and set the value. but there isn't any way to confirm its working unless I wait forever and monitor.  BOGUS.  

 

someone from VMware who knows what the story is with this please chime in and provide some certainty to the following:

 

1)  what is the default if 5.1 and 5.5 for virtual machine log file in regards to size and rotation

2)  is this a mistake in the KB article that states the above parameter is not supported, and it if isn't supported, how then is the log rotation for a VM adjusted.

 

I recently saw VM log files as large as 1GB in size at a customer site, I want to put together a quick script to change this as many have and there are scripts available, but when I look at the scripts that have been developed they are all  using this parameter  to set the log rotation.

 

Please assist and help get a straight answer for those who have read this KB and have started scratch heads...

 

Thanks.


Viewing all articles
Browse latest Browse all 1961

Trending Articles