Linux Administration - System logging

syslogd
Files /etc/syslog.conf - syslogd configuration file format: facility.priority action facility - keyword for type of program ( auth(security), authpriv, cron daemon, kern, lpr, mail, mark, news, security, syslog, user, uucp, local0-local7 ) priority - importance of message ( debug (lowest), info, notice, warning, warn, error, err, crit, alert, emerg, panic (highest) ( warn (warning), error (err), panic (emerg) - deprecated, codes in () are respective equivalents) ) action - file/location that accepts message (usually /var/log tree) Other files: /var/log/messages - syslogd log /var/log/syslog - syslogd log /var/log/dmesg - kernel ring buffer /var/log/boot - Debian /dev/console messages from bootlogd /var/log/boot.log - Fedora and Red Hat messages from syslogd
Commands > dmesg Display system boot messages.

syslogd System logger.

klogd Kernel logger.

bootlogd Debian daemon logger.

logrotate
Files /etc/logrotate.conf - logrotate configuration file /etc/logrotate.d - placement for related files
Commands logrotate Normally run via a cron entry.