Log to remote syslog server in ubuntu

I needed to send my servers logs to a remote syslog server. Its an easy config change in ubuntu 12.04.
Under /etc/rsyslog.d/ there is a configuration file called 50-default.conf.
Simply edited line

*.*;auth,authpriv.none          -/var/log/syslog

is the entry which logs to /var/log/syslog to

*.*;auth,authpriv.none          @remote.syslogserver.com:514

Then restart service

sudo service rsyslog restart

Thats it!