Answer the question
In order to leave comments, you need to log in
Logs are not rotated on the hypervisor, why?
esxi hypervisor. I mean those logs that are in the directory of the virtual machine.
In advanced setting - syslog
syslog.globad.defaultrotate - 2 syslog.global.default.size - 1024
After that, the service was restarted
esxcli system syslog reload
To convince, I executed the command:
esxcli system syslog config get
The values are the same as those entered in the graphical shell. But after some time, a new log file does not open, and the previous ones are not deleted. But I noticed something, when we turn off the virtual machine, a new log file is created, and the old ones remain. Why is rotation not performed once the number of files is 2?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question