source: BOOK/final-system/common/sysklogd.xml@ 7cffba4

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 7cffba4 was d1631d1, checked in by Jim Gifford <clfs@…>, 19 years ago

r1175@server (orig r1173): chris | 2006-02-12 21:30:40 -0800
Updated testsuite info

  • Property mode set to 100644
File size: 3.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-sysklogd" xreflabel="Sysklogd" role="wrap">
9 <?dbhtml filename="sysklogd.html"?>
10
11 <title>Sysklogd-&sysklogd-version;</title>
12
13 <indexterm zone="ch-system-sysklogd">
14 <primary sortas="a-Sysklogd">Sysklogd</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The Sysklogd package contains programs for logging system messages,
21 such as those given by the kernel when unusual things happen.</para>
22
23 <segmentedlist>
24 <segtitle>&dependencies;</segtitle>
25
26 <seglistitem>
27 <seg>Binutils, Coreutils, GCC, Glibc, Make, and Patch</seg>
28 </seglistitem>
29 </segmentedlist>
30
31 </sect2>
32
33 <sect2 role="installation">
34 <title>Installation of Sysklogd</title>
35
36 <para os="a">The following patch fixes various issues, including a
37 problem building Sysklogd with Linux 2.6 series kernels</para>
38
39<screen os="b"><userinput>patch -Np1 -i ../&sysklogd-fixes-patch;</userinput></screen>
40
41 <para os="c">Compile the package:</para>
42
43<screen os="d"><userinput>make</userinput></screen>
44
45 <para os="e">This package does not come with a test suite.</para>
46
47 <para os="f">Install the package:</para>
48
49<screen os="g"><userinput>make install</userinput></screen>
50
51 </sect2>
52
53 <sect2 id="conf-sysklogd" role="configuration">
54 <title>Configuring Sysklogd</title>
55
56 <indexterm zone="conf-sysklogd">
57 <primary sortas="a-Sysklogd">Sysklogd</primary>
58 <secondary>configuring</secondary></indexterm>
59
60 <indexterm zone="conf-sysklogd">
61 <primary sortas="e-/etc/syslog.conf">/etc/syslog.conf</primary>
62 </indexterm>
63
64 <para>Create a new <filename>/etc/syslog.conf</filename> file by running
65 the following:</para>
66
67<screen><userinput>cat &gt; /etc/syslog.conf &lt;&lt; "EOF"
68<literal># Begin /etc/syslog.conf
69
70auth,authpriv.* -/var/log/auth.log
71*.*;auth,authpriv.none -/var/log/sys.log
72daemon.* -/var/log/daemon.log
73kern.* -/var/log/kern.log
74mail.* -/var/log/mail.log
75user.* -/var/log/user.log
76*.emerg *
77
78# log the bootscript output:
79local2.* -/var/log/boot.log
80
81# End /etc/syslog.conf</literal>
82EOF</userinput></screen>
83
84 </sect2>
85
86 <sect2 id="contents-sysklogd" role="content">
87 <title>Contents of Sysklogd</title>
88
89 <segmentedlist>
90 <segtitle>Installed programs</segtitle>
91
92 <seglistitem>
93 <seg>klogd and syslogd</seg>
94 </seglistitem>
95 </segmentedlist>
96
97 <variablelist>
98 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
99 <?dbfo list-presentation="list"?>
100 <?dbhtml list-presentation="table"?>
101
102 <varlistentry id="klogd">
103 <term><command>klogd</command></term>
104 <listitem>
105 <para>A system daemon for intercepting and logging kernel
106 messages</para>
107 <indexterm zone="ch-system-sysklogd klogd">
108 <primary sortas="b-klogd">klogd</primary>
109 </indexterm>
110 </listitem>
111 </varlistentry>
112
113 <varlistentry id="syslogd">
114 <term><command>syslogd</command></term>
115 <listitem>
116 <para>Logs the messages that system programs offer for logging.
117 Every logged message contains at least a date stamp and a hostname,
118 and normally the program's name too, but that depends on how
119 trusting the logging daemon is told to be.</para>
120 <indexterm zone="ch-system-sysklogd syslogd">
121 <primary sortas="b-syslogd">syslogd</primary>
122 </indexterm>
123 </listitem>
124 </varlistentry>
125
126 </variablelist>
127
128 </sect2>
129
130</sect1>
Note: See TracBrowser for help on using the repository browser.