aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/config-sysklogd.sgml
blob: 12a12563bd2ff5a88fd420dd1c94360fee4ea275 (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>

<literallayout>

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

</literallayout>

</sect2>