Hey Anupreet01,
There are various options for configuring syslog for ESXi 5.0
You can use local syslog, remote syslog collector, Vima etc
Check out the link below as this should help
http://thefoglite.com/2012/05/21/deploying-syslog-collector-for-esxi-5-logging/
Regards
a