Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When i browsed through many linux forums, many Ubuntu geeks solve issue using 'syslog'. They analyze it, and post the answer. Can anyone give me an idea about it?

share|improve this question
up vote 3 down vote accepted

There are many software packages that can provide system logging. Ubuntu is using the package, rsyslog. It's configuration files are located in /etc/rsyslog.conf and /etc/rsyslog.d/*. The configuration files define which system messages to log, which directories to store messages, and which files to record different portions of system messages. As with the majority of Unix and Linux, the system log files are recorded in the files located in the directory, /var/log/.

By examining these files, we can learn what is happening with the software on the system. For example, auth.log records user authentication events, boot.log records boot events, syslog records all messages except authentication events (by default configuration).

To examine a log file in real time: sudo tail -f /var/log/syslog

To find cron-related messages: sudo grep cron /var/log/syslog

To learn more about system logging from the command line:

apropos syslog

This command, apropos, will try to return relevant manual pages for the term, "syslog." It will return a reference for 'rsyslogd' and it's configuration files. There is also a good Wikipedia article.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.