source: BOOK/final-system/common/sysklogd.xml@ 07e2606

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 07e2606 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
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
[3f8be484]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
[a9b307b]28 <para os="a">Compile the package:</para>
[3f8be484]29
[a9b307b]30<screen os="b"><userinput>make</userinput></screen>
[3f8be484]31
[a9b307b]32 <para os="c">This package does not come with a test suite.</para>
[3f8be484]33
[a9b307b]34 <para os="d">Install the package:</para>
[3f8be484]35
[a9b307b]36<screen os="e"><userinput>make install</userinput></screen>
[3f8be484]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"
[44426cf]55<literal># Begin /etc/syslog.conf
[79b35d0]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 *
[3f8be484]65
66# log the bootscript output:
[79b35d0]67local2.* -/var/log/boot.log
[3f8be484]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
[3bec8f3]107 trusting the logging daemon is told to be.</para>
[3f8be484]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.