Tagging 1.99.1
[linux_from_scratch.git] / BOOK / chapter06 / config-sysklogd.xml
blob72bc83a62ad34bb1d59bd404ab472b2ccafef6bc
1 <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
3 <sect2><title>Configuring Sysklogd</title>
5 <para>Create a new file <filename>/etc/syslog.conf</filename> by running the
6 following:</para>
8 <screen><userinput>cat &gt; /etc/syslog.conf &lt;&lt; "EOF"</userinput>
9 # Begin /etc/syslog.conf
11 auth,authpriv.* -/var/log/auth.log
12 *.*;auth,authpriv.none -/var/log/sys.log
13 daemon.* -/var/log/daemon.log
14 kern.* -/var/log/kern.log
15 mail.* -/var/log/mail.log
16 user.* -/var/log/user.log
17 *.emerg *
19 # End /etc/syslog.conf
20 <userinput>EOF</userinput></screen>
22 </sect2>