From owner-freebsd-questions@FreeBSD.ORG Fri Mar 23 17:49:36 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 919D716A402 for ; Fri, 23 Mar 2007 17:49:36 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id 10E6813C46A for ; Fri, 23 Mar 2007 17:49:25 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan@localhost [127.0.0.1]) by dan.emsphone.com (8.14.0/8.13.8) with ESMTP id l2NHnHUV024890 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 23 Mar 2007 12:49:17 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.0/8.14.0/Submit) id l2NHnG6v024883; Fri, 23 Mar 2007 12:49:16 -0500 (CDT) (envelope-from dan) Date: Fri, 23 Mar 2007 12:49:16 -0500 From: Dan Nelson To: Theodore Trubetskoy Message-ID: <20070323174916.GC92547@dan.emsphone.com> References: <65677df80703230956g65d998d0pbc43e623c14e7177@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <65677df80703230956g65d998d0pbc43e623c14e7177@mail.gmail.com> X-OS: FreeBSD 6.2-STABLE User-Agent: Mutt/1.5.14 (2007-02-12) Cc: freebsd-questions@freebsd.org Subject: Re: syslog.conf (5) man error? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Mar 2007 17:49:36 -0000 In the last episode (Mar 23), Theodore Trubetskoy said: > I'm wondering if it is an error in the syslog.conf man. > > man in DESCRIPTION part states: > > "A block will only log messages corresponding to the most recent > program and hostname specifications given." > > And EXAMPLES part reads: > " > # Save ftpd transactions along with mail and news > !ftpd > *.* /var/log/spoolerr > > # Log all security messages to a separate file. > security.* /var/log/security > > # Log all writes to /dev/console to a separate file. > console.* /var/log/console.log > " > What means that security and console facilities messages will be > logged only if they came from ftpd program, and obviously this was > not intended in the example. > > If you agree it is an error, what is the right way to correct one? I think each example was meant to stand alone, but it might be nice if the ftpd example had a "!*" line at the end, to show how to reset the program specification back to the default in a real config file. -- Dan Nelson dnelson@allantgroup.com