sysklogd.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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.5/docbookx.dtd" [
  4. <!ENTITY % general-entities SYSTEM "../general.ent">
  5. %general-entities;
  6. ]>
  7. <sect1 id="ch-system-sysklogd" role="wrap">
  8. <?dbhtml filename="sysklogd.html"?>
  9. <sect1info condition="script">
  10. <productname>sysklogd</productname>
  11. <productnumber>&sysklogd-version;</productnumber>
  12. <address>&sysklogd-url;</address>
  13. </sect1info>
  14. <title>Sysklogd-&sysklogd-version;</title>
  15. <indexterm zone="ch-system-sysklogd">
  16. <primary sortas="a-Sysklogd">Sysklogd</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  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. <segmentedlist>
  23. <segtitle>&buildtime;</segtitle>
  24. <segtitle>&diskspace;</segtitle>
  25. <seglistitem>
  26. <seg>&sysklogd-ch6-sbu;</seg>
  27. <seg>&sysklogd-ch6-du;</seg>
  28. </seglistitem>
  29. </segmentedlist>
  30. </sect2>
  31. <sect2 role="installation">
  32. <title>Installation of Sysklogd</title>
  33. <para>Compile the package:</para>
  34. <screen><userinput remap="make">make</userinput></screen>
  35. <para>This package does not come with a test suite.</para>
  36. <para>Install the package:</para>
  37. <screen><userinput remap="install">make BINDIR=/sbin install</userinput></screen>
  38. </sect2>
  39. <sect2 id="conf-sysklogd" role="configuration">
  40. <title>Configuring Sysklogd</title>
  41. <indexterm zone="conf-sysklogd">
  42. <primary sortas="a-Sysklogd">Sysklogd</primary>
  43. <secondary>configuring</secondary>
  44. </indexterm>
  45. <indexterm zone="conf-sysklogd">
  46. <primary sortas="e-/etc/syslog.conf">/etc/syslog.conf</primary>
  47. </indexterm>
  48. <para>Create a new <filename>/etc/syslog.conf</filename> file by running the
  49. following:</para>
  50. <screen><userinput>cat &gt; /etc/syslog.conf &lt;&lt; "EOF"
  51. <literal># Begin /etc/syslog.conf
  52. auth,authpriv.* -/var/log/auth.log
  53. *.*;auth,authpriv.none -/var/log/sys.log
  54. daemon.* -/var/log/daemon.log
  55. kern.* -/var/log/kern.log
  56. mail.* -/var/log/mail.log
  57. user.* -/var/log/user.log
  58. *.emerg *
  59. # End /etc/syslog.conf</literal>
  60. EOF</userinput></screen>
  61. </sect2>
  62. <sect2 id="contents-sysklogd" role="content">
  63. <title>Contents of Sysklogd</title>
  64. <segmentedlist>
  65. <segtitle>Installed programs</segtitle>
  66. <seglistitem>
  67. <seg>klogd and syslogd</seg>
  68. </seglistitem>
  69. </segmentedlist>
  70. <variablelist>
  71. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  72. <?dbfo list-presentation="list"?>
  73. <?dbhtml list-presentation="table"?>
  74. <varlistentry id="klogd">
  75. <term><command>klogd</command></term>
  76. <listitem>
  77. <para>A system daemon for intercepting and logging kernel messages</para>
  78. <indexterm zone="ch-system-sysklogd klogd">
  79. <primary sortas="b-klogd">klogd</primary>
  80. </indexterm>
  81. </listitem>
  82. </varlistentry>
  83. <varlistentry id="syslogd">
  84. <term><command>syslogd</command></term>
  85. <listitem>
  86. <para>Logs the messages that system programs offer for logging. Every
  87. logged message contains at least a date stamp and a hostname, and
  88. normally the program's name too, but that depends on how trusting the
  89. logging daemon is told to be</para>
  90. <indexterm zone="ch-system-sysklogd syslogd">
  91. <primary sortas="b-syslogd">syslogd</primary>
  92. </indexterm>
  93. </listitem>
  94. </varlistentry>
  95. </variablelist>
  96. </sect2>
  97. </sect1>