aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/config-sysklogd.xml
blob: 900010b281ed219801466604285b73bfbaa9a4a7 (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
<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>