aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/config-sysklogd.xml
blob: 72bc83a62ad34bb1d59bd404ab472b2ccafef6bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<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>