Installing Sysklogd-1.4.1

The Sysklogd package contains programs for logging system messages, such as those given by the kernel when unusual things happen.

Approximate build time:  0.1 SBU
Required disk space:     0.5 MB

Official download location for Sysklogd (1.4.1):
http://www.infodrom.org/projects/sysklogd/download/

For its installation Sysklogd depends on: Binutils, Coreutils, GCC, Glibc, Make.

Installation of Sysklogd

Compile Sysklogd:

make

And install it:

make install

Configuring Sysklogd

Create a new file /etc/syslog.conf by running the following:

cat > /etc/syslog.conf << "EOF"
# Begin /etc/syslog.conf

auth,authpriv.* -/var/log/auth.log
*.*;auth,authpriv.none -/var/log/sys.log
daemon.* -/var/log/daemon.log
kern.* -/var/log/kern.log
mail.* -/var/log/mail.log
user.* -/var/log/user.log
*.emerg *

# End /etc/syslog.conf
EOF

Contents of Sysklogd

Installed programs: klogd and syslogd

Short descriptions

klogd is a system daemon for intercepting and logging kernel messages.

syslogd logs the messages that system programs offer for logging. Every logged message contains at least a date stamp and a hostname, and normally the program's name too, but that depends on how trusting the logging daemon is told to be.