From owner-freebsd-rc@FreeBSD.ORG Fri Sep 15 23:35:01 2006 Return-Path: X-Original-To: freebsd-rc@freebsd.org Delivered-To: freebsd-rc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6581A16A415 for ; Fri, 15 Sep 2006 23:35:01 +0000 (UTC) (envelope-from dat1965@yahoo.com) Received: from web55113.mail.re4.yahoo.com (web55113.mail.re4.yahoo.com [206.190.58.162]) by mx1.FreeBSD.org (Postfix) with SMTP id 7939643D46 for ; Fri, 15 Sep 2006 23:35:00 +0000 (GMT) (envelope-from dat1965@yahoo.com) Received: (qmail 57683 invoked by uid 60001); 15 Sep 2006 23:34:59 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=l9qcwS4btJNaklld8WM+kI4Lg1tBLxf/OmpMKjtIyIhwF7NSWN59yQADtnvWkqogeKZRcdwxyKftoiJzqaPa2M/K/G0zdx3Hvj/ZitQMYgZrw41ep2a5XmXX7cQH9ge+A34UbulVFmhUAuvrJ4BPVYUwXz2aFxxRFOFXIz1PhTg= ; Message-ID: <20060915233459.57681.qmail@web55113.mail.re4.yahoo.com> Received: from [67.131.247.220] by web55113.mail.re4.yahoo.com via HTTP; Fri, 15 Sep 2006 16:34:59 PDT Date: Fri, 15 Sep 2006 16:34:59 -0700 (PDT) From: David Thompson To: freebsd-rc@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: /etc/rc.subr debug() logs messages with INFO X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 23:35:01 -0000 Hi, Looking at /etc/rc.subr rev 1.68 on CVSweb, you can see the meat of info() doing these commands, if [ -x /usr/bin/logger ]; then logger "$0: INFO: $*" fi echo "$0: INFO: $*" Here is similar debug() meat, if [ -x /usr/bin/logger ]; then logger "$0: INFO: $*" fi echo 1>&2 "$0: DEBUG: $*" Huh? Why is the debug() function calling logger and identifying its messages with "INFO". Looks to be typo. Can anyone confirm? -- David __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com