[RFC] [patch] handbook/network/chapter.sgml
Jason Helfman
jhelfman at e-e.com
Thu Dec 30 19:16:36 UTC 2010
This patch is the result of this page throwing me for a loop:
http://www.freebsd.org/doc/handbook/network-syslogd.html
If you look at Section 2.11.1 it appears that syslogd has:
syslogd_flags="-a logclient.example.com -vv"
This obviously looks like two dash v's, however if you look at this online,
it looks like a "w"
If you use this flag, it isn't an option, and syslog fails to start. Here is
a patch that separates this throughout this document into:
"-v -v"
-jgh
--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5
-------------- next part --------------
--- chapter.sgml.orig 2010-12-30 10:34:58.000000000 -0800
+++ chapter.sgml 2010-12-30 10:39:15.000000000 -0800
@@ -5172,12 +5172,12 @@
placed inside <filename>/etc/rc.conf</filename>:</para>
<programlisting>syslogd_enable="YES"
-syslogd_flags="-a logclient.example.com -vv"</programlisting>
+syslogd_flags="-a logclient.example.com -v -v"</programlisting>
<para>The first option will enable the <command>syslogd</command>
daemon on boot up, and the second option allows data from the
specified client to be accepted on this server. The latter
- part, using <option>-vv</option>, will increase the verbosity
+ part, using <option>-v -v</option>, will increase the verbosity
of logged messages. This is extremely useful for tweaking
facilities as administrators are able to see what type of
messages are being logged under which facility.</para>
@@ -5241,7 +5241,7 @@
<filename>/etc/rc.conf</filename>:</para>
<programlisting>syslogd_enable="YES"
-syslogd_flags="-s -vv"</programlisting>
+syslogd_flags="-s -v -v"</programlisting>
<para>As before, these entries will enable the
<command>syslogd</command> daemon on boot up, and increases
@@ -5306,7 +5306,7 @@
<literal>syslogd_flags</literal> option to look like the
following example, and issue a restart:</para>
- <programlisting>syslogd_flags="-d -a logclien.example.com -vv"</programlisting>
+ <programlisting>syslogd_flags="-d -a logclien.example.com -v -v"</programlisting>
<screen>&prompt.root; <userinput>/etc/rc.d/syslogd restart</userinput></screen>
@@ -5327,7 +5327,7 @@
by bit, it appears a typo in the following
<filename>/etc/rc.conf</filename> line has an issue:</para>
- <programlisting>syslogd_flags="-d -a logclien.example.com -vv"</programlisting>
+ <programlisting>syslogd_flags="-d -a logclien.example.com -v -v"</programlisting>
<para>The line should contain <literal>logclient</literal>, not
<literal>logclien</literal>. After the proper alterations
More information about the freebsd-doc
mailing list