In CentOS and many other distros you can configure
/etc/syslog.conf but in Ubuntu there is no such file. Which file I should edit for configuring
syslogd in Ubuntu.
Syslog configuration in Ubuntu is usually in /etc/rsyslog.d/50-default.conf
This, btw. is the setup i like to use:
There are syslog alternatives, primarily rsyslog. Lucid uses rsyslog, so you'll need to look at /etc/rsyslog.conf and /etc/rsyslog.d. I'm not sure what Precises uses off-hand.
Here are the relevant man pages: