mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 05:27:39 +00:00
b08f409653
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@174 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
28 lines
523 B
XML
28 lines
523 B
XML
<sect2><title>Configuring Sysklogd</title>
|
|
|
|
<para>
|
|
Create a new file <filename>/etc/syslog.conf</filename> by running the
|
|
following:
|
|
</para>
|
|
|
|
<literallayout>
|
|
|
|
<userinput>cat > /etc/syslog.conf << "EOF"</userinput>
|
|
# 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
|
|
<userinput>EOF</userinput>
|
|
|
|
</literallayout>
|
|
|
|
</sect2>
|
|
|