Enable /var/log/messages in Ubuntu 12.04
This post covers the steps How to Enable Var Log Message in Ubuntu 12.04.
By default log messages are not written to the file /var/log/messages in Ubuntu flavour of Linux OS. In order to enable this, we can do the following
Change directory to /etc/rsyslog.d. Open the file 50-default.conf and uncomment the following lines
Once done, save the file and restart rsyslog service.
root@SD-LITE-DB:~# service rsyslog restart
Thats it. Now you should be able to view the system logs including mail, cron etc in /var/log/messages file.