LDP/LDP/retired/LFS/chapter06/config-sysklogd.xml

24 lines
560 B
XML

<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
<sect2><title>Configuring Sysklogd</title>
<para>Create a new file <filename>/etc/syslog.conf</filename> by running the
following:</para>
<screen><userinput>cat &gt; /etc/syslog.conf &lt;&lt; "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></screen>
</sect2>