VMware Communities
11Al
Contributor
Contributor

VM logs

Using the workstation, it creates a new log for each session. Usually after some time I delete them all, because they tend to grow in number and size. Let me know if there is a way for turn off this continuous creation of logs.

Reply
0 Kudos
4 Replies
continuum
Immortal
Immortal

logging = "false"
disables logging - but it is highly recommended not to disable logging as the vmware.logs might have the data to reconstruct damaged vmx-files or damaged vmdk-descriptorfiles in case your VM gets damaged.


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Reply
0 Kudos
11Al
Contributor
Contributor

Ok thank you. But where that string is inserted into the vmx file? Top, center or bottom? If enough then can I leave the most recent log? However, I periodically backup the entire VM on external HD.

Another question, in the event of damage to the VM, what's the procedure to fix it?

Reply
0 Kudos
continuum
Immortal
Immortal

to reduce the number of logs use
log.keepOld = "2"

vmx-files do not care for the sequence of parameters - just add lines where ever you like but make sure not to define a parameter twice

>> Another question, in the event of damage to the VM, what's the procedure to fix it?

oh dear - there are lots of different types of damages that can appear - there is no easy one-size-fits-all answer to that question.


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Reply
0 Kudos
11Al
Contributor
Contributor

Thanks again Smiley Happy

Reply
0 Kudos