2003-01-28 01:17:02 +00:00
|
|
|
<sect2><title> </title><para> </para></sect2>
|
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
<sect2><title>Configuring Sysklogd</title>
|
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<para>Create a new file <filename>/etc/syslog.conf</filename> by running the
|
|
|
|
following:</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2003-10-10 00:22:07 +01:00
|
|
|
<screen><userinput>cat > /etc/syslog.conf << "EOF"</userinput>
|
2001-01-24 00:31:17 +00:00
|
|
|
# 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
|
2003-10-10 00:22:07 +01:00
|
|
|
<userinput>EOF</userinput></screen>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|