6.51.1. Installation of Sysklogd
The following patch fixes various issues, including a problem
building Sysklogd with Linux 2.6 series kernels:
patch -Np1 -i ../sysklogd-1.4.1-fixes-2.patch
The following patch makes sysklogd treat bytes in the 0x80--0x9f
range literally in the messages being logged, instead of replacing
them with octal codes. Unpatched sysklogd would damage messages in
the UTF-8 encoding:
patch -Np1 -i ../sysklogd-1.4.1-8bit-1.patch
Compile the package:
make
This package does not come with a test suite.
Install the package:
make install
6.51.2. Configuring
Sysklogd
Create a new /etc/syslog.conf
file 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