Note: The above should work for most pre-ESXi 6.5 versions as per this KB. Ex: log.fileName=vmLog.txt or log.fileName=/vmfs/volume/VMLogFiles/vm1Log.txt. ![]() Logfile name: To change the log file filename and/or location, add the log.fileName to the VM’s VMX file.You’ll find these listed as vmware.log, vmware-1.log … vmware-n.log. Ex: log.keepOld=5 sets a maximum of 5 log files at any one instance, with the oldest being overwritten when a new log file is created. Logfile retention: To set the level of log file rotation, add the log.keepOld value to the VM’s VMX file. ![]() Ex: log.rotateSize=1024000 sets the log file maximum size to 1 MB. Logfile size: Similarly, you can control the log file size by adding the log.rotateSize to VM’s VMX file.Enabling logging for a VM in vSphere Web client
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |