1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
6 <sect1 id="ch-system-sysklogd" xreflabel="Sysklogd">
7 <title>Sysklogd-&sysklogd-version;</title>
8 <?dbhtml filename="sysklogd.html"?>
10 <indexterm zone="ch-system-sysklogd"><primary sortas="a-Sysklogd">Sysklogd</primary></indexterm>
12 <para>The Sysklogd package contains programs for logging system messages, such
13 as those given by the kernel when unusual things happen.</para>
15 <screen>&buildtime; 0.1 SBU
16 &diskspace; 0.5 MB</screen>
18 <para>Sysklogd installation depends on: Binutils, Coreutils, GCC, Glibc, Make.</para>
23 <title>Installation of Sysklogd</title>
25 <para>Compile Sysklogd:</para>
27 <screen><userinput>make</userinput></screen>
29 <para>Now install it:</para>
31 <screen><userinput>make install</userinput></screen>
36 <sect2 id="conf-sysklogd"><title>Configuring Sysklogd</title>
37 <indexterm zone="conf-sysklogd">
38 <primary sortas="a-Sysklogd">Sysklogd</primary>
39 <secondary>configuring</secondary></indexterm>
41 <indexterm zone="conf-sysklogd"><primary sortas="e-/etc/syslog.conf">/etc/syslog.conf</primary></indexterm>
43 <para>Create a new <filename>/etc/syslog.conf</filename> file by running the
46 <screen><userinput>cat > /etc/syslog.conf << "EOF"</userinput>
47 # Begin /etc/syslog.conf
49 auth,authpriv.* -/var/log/auth.log
50 *.*;auth,authpriv.none -/var/log/sys.log
51 daemon.* -/var/log/daemon.log
52 kern.* -/var/log/kern.log
53 mail.* -/var/log/mail.log
54 user.* -/var/log/user.log
57 # End /etc/syslog.conf
58 <userinput>EOF</userinput></screen>
63 <sect2 id="contents-sysklogd"><title>Contents of Sysklogd</title>
65 <para><emphasis>Installed programs</emphasis>: klogd and syslogd</para>
70 <sect2><title>Short descriptions</title>
72 <indexterm zone="ch-system-sysklogd klogd"><primary sortas="b-klogd">klogd</primary></indexterm>
73 <para id="klogd"><command>klogd</command> is a system daemon for intercepting and
74 logging kernel messages.</para>
76 <indexterm zone="ch-system-sysklogd syslogd"><primary sortas="b-syslogd">syslogd</primary></indexterm>
77 <para id="syslogd"><command>syslogd</command> logs the messages that system programs
78 offer for logging. Every logged message contains at least a date stamp and a
79 hostname, and normally the program's name too, but that depends on how
80 trusting the logging daemon is told to be.</para>