First thing you need to know about ESXi is that it rolls its log after a reboot, meaning if your ESXi server crashes there will be no logs to review and no way of knowing what when to hell and where.
For this reason it is imperative that you setup a remote syslog server and send your logs there. Vmware support will tell you this and shame you if you have not setup remote syslogging.
Fortunately the first hit on google for “ESX syslog how to” will take you directly to the VMware KB article. You can find it here. However this page does not contain directions on how to do this via the Linux rcli, it only contains directions on how to do this via the VMA (management appliance) and from Windows PowerCLI. Really Vmware?
Follow the directions below if you run a real operating system and are not a Windows Admin.
First configure your remote ESXi host to forward syslog to your syslog server.
esxcfg-syslog –server esx04 –setserver vsyslog02 –setport 514
Then verify your settings
esxcfg-syslog –server esx04 –show
Output will appear as follows if everything worked right.
Current remote syslog server settings:
Server name : (vsyslog02)
Server port : 514