There are two easy methods of capturing logs for both an ESX or ESXi server:
- Use VMware vMA and vilogger to setup a syslog server. Simon Long wrote a very detailed article on how to configured and set it all up, check it out here.
- Configure ESX or ESXi server to remotely log to an existing syslog server.
In ESXi, there are potentially three sets of logs to be captured: messages, hostd, and vpxa (if your host is being managed by vCenter). If you are using option #1 and you have enabled logging using vilogger, you will see the following: