From owner-freebsd-doc@FreeBSD.ORG Thu Dec 30 19:16:36 2010 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77EC8106566B for ; Thu, 30 Dec 2010 19:16:36 +0000 (UTC) (envelope-from jhelfman@experts-exchange.com) Received: from mail.experts-exchange.com (mail.experts-exchange.com [72.29.183.251]) by mx1.freebsd.org (Postfix) with ESMTP id 532D48FC08 for ; Thu, 30 Dec 2010 19:16:35 +0000 (UTC) Received: from mail.experts-exchange.com (localhost [127.0.0.1]) by mail.experts-exchange.com (Postfix) with ESMTP id 3CE2BCA6A67 for ; Thu, 30 Dec 2010 11:16:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=e-e.com; h= user-agent:content-disposition:content-type:content-type :mime-version:message-id:subject:subject:from:from:date:date :received:received:received; s=ee; t=1293736595; x=1295550995; bh=EAG5DG6eVFKauTMkAL5gio5agK09xoUaL8oJOqZdXnQ=; b=Ss/tu2XnGFFi aI3R2ZSFaRsK3qw11TPP8unkoOFYD8gKGle5Aj3RScGovolCC8h52KB8sGbqveB9 0WVuQLL4qp9xogxP3XcFC86L8uISxJuWDvwYlR7fwYKOMIOdfNYvf+6y9c3Yef+x fs4yil5vyJTnNsxtL7kVryZJbX3TDLo= X-Virus-Scanned: amavisd-new at experts-exchange.com Received: from mail.experts-exchange.com ([127.0.0.1]) by mail.experts-exchange.com (mail.experts-exchange.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id snMqEYd+XtMP for ; Thu, 30 Dec 2010 11:16:35 -0800 (PST) Received: from experts-exchange.com (unknown [192.168.103.122]) by mail.experts-exchange.com (Postfix) with SMTP id 515E1CA6A5E for ; Thu, 30 Dec 2010 11:16:34 -0800 (PST) Received: (nullmailer pid 26740 invoked by uid 1001); Thu, 30 Dec 2010 19:13:25 -0000 Date: Thu, 30 Dec 2010 11:13:25 -0800 From: Jason Helfman To: freebsd-doc@freebsd.org Message-ID: <20101230191324.GA26697@eggman.experts-exchange.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="w7PDEPdKQumQfZlR" Content-Disposition: inline X-Operating-System: FreeBSD 8.1-RELEASE X-Living-The-Dream: I love the SLO Life! User-Agent: Mutt/1.5.21 (2010-09-15) Subject: [RFC] [patch] handbook/network/chapter.sgml X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Dec 2010 19:16:36 -0000 --w7PDEPdKQumQfZlR Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline 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 --w7PDEPdKQumQfZlR Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch.txt" --- 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 /etc/rc.conf: syslogd_enable="YES" -syslogd_flags="-a logclient.example.com -vv" +syslogd_flags="-a logclient.example.com -v -v" The first option will enable the syslogd daemon on boot up, and the second option allows data from the specified client to be accepted on this server. The latter - part, using , will increase the verbosity + part, using , 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. @@ -5241,7 +5241,7 @@ /etc/rc.conf: syslogd_enable="YES" -syslogd_flags="-s -vv" +syslogd_flags="-s -v -v" As before, these entries will enable the syslogd daemon on boot up, and increases @@ -5306,7 +5306,7 @@ syslogd_flags option to look like the following example, and issue a restart: - syslogd_flags="-d -a logclien.example.com -vv" + syslogd_flags="-d -a logclien.example.com -v -v" &prompt.root; /etc/rc.d/syslogd restart @@ -5327,7 +5327,7 @@ by bit, it appears a typo in the following /etc/rc.conf line has an issue: - syslogd_flags="-d -a logclien.example.com -vv" + syslogd_flags="-d -a logclien.example.com -v -v" The line should contain logclient, not logclien. After the proper alterations --w7PDEPdKQumQfZlR--