source: BOOK/final-system/common/sysklogd.xml@ 3aeeba02

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 3aeeba02 was a9b307b, checked in by Jim Gifford <clfs@…>, 17 years ago

Updated to Sysklogd 1.5

  • Property mode set to 100644
File size: 3.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//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 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of Sysklogd</title>
27
28 <para os="a">Compile the package:</para>
29
30<screen os="b"><userinput>make</userinput></screen>
31
32 <para os="c">This package does not come with a test suite.</para>
33
34 <para os="d">Install the package:</para>
35
36<screen os="e"><userinput>make install</userinput></screen>
37
38 </sect2>
39
40 <sect2 id="conf-sysklogd" role="configuration">
41 <title>Configuring Sysklogd</title>
42
43 <indexterm zone="conf-sysklogd">
44 <primary sortas="a-Sysklogd">Sysklogd</primary>
45 <secondary>configuring</secondary></indexterm>
46
47 <indexterm zone="conf-sysklogd">
48 <primary sortas="e-/etc/syslog.conf">/etc/syslog.conf</primary>
49 </indexterm>
50
51 <para>Create a new <filename>/etc/syslog.conf</filename> file by running
52 the following:</para>
53
54<screen><userinput>cat &gt; /etc/syslog.conf &lt;&lt; "EOF"
55<literal># Begin /etc/syslog.conf
56
57auth,authpriv.* -/var/log/auth.log
58*.*;auth,authpriv.none -/var/log/sys.log
59daemon.* -/var/log/daemon.log
60kern.* -/var/log/kern.log
61mail.* -/var/log/mail.log
62user.* -/var/log/user.log
63*.info;mail.none;authpriv.none;cron.none -/var/log/messages
64*.emerg *
65
66# log the bootscript output:
67local2.* -/var/log/boot.log
68
69# End /etc/syslog.conf</literal>
70EOF</userinput></screen>
71
72 </sect2>
73
74 <sect2 id="contents-sysklogd" role="content">
75 <title>Contents of Sysklogd</title>
76
77 <segmentedlist>
78 <segtitle>Installed programs</segtitle>
79
80 <seglistitem>
81 <seg>klogd and syslogd</seg>
82 </seglistitem>
83 </segmentedlist>
84
85 <variablelist>
86 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
87 <?dbfo list-presentation="list"?>
88 <?dbhtml list-presentation="table"?>
89
90 <varlistentry id="klogd">
91 <term><command>klogd</command></term>
92 <listitem>
93 <para>A system daemon for intercepting and logging kernel
94 messages</para>
95 <indexterm zone="ch-system-sysklogd klogd">
96 <primary sortas="b-klogd">klogd</primary>
97 </indexterm>
98 </listitem>
99 </varlistentry>
100
101 <varlistentry id="syslogd">
102 <term><command>syslogd</command></term>
103 <listitem>
104 <para>Logs the messages that system programs offer for logging.
105 Every logged message contains at least a date stamp and a hostname,
106 and normally the program's name too, but that depends on how
107 trusting the logging daemon is told to be.</para>
108 <indexterm zone="ch-system-sysklogd syslogd">
109 <primary sortas="b-syslogd">syslogd</primary>
110 </indexterm>
111 </listitem>
112 </varlistentry>
113
114 </variablelist>
115
116 </sect2>
117
118</sect1>
Note: See TracBrowser for help on using the repository browser.