aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/config-sysklogd.xml
blob: 3b52725e352a5eb0088a892fdc9691135e0a7fe8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<sect2><title>Configuring Sysklogd</title>

<para>
Create a new file <filename>/etc/syslog.conf</filename> by running the
following:
</para>

<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>
</para>

</sect2>