From owner-freebsd-doc Thu Sep 6 1:50: 8 2001 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 18DDD37B406 for ; Thu, 6 Sep 2001 01:50:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f868o1n25146; Thu, 6 Sep 2001 01:50:01 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B99C037B403 for ; Thu, 6 Sep 2001 01:46:51 -0700 (PDT) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f868kpG24722; Thu, 6 Sep 2001 01:46:51 -0700 (PDT) (envelope-from nobody) Message-Id: <200109060846.f868kpG24722@freefall.freebsd.org> Date: Thu, 6 Sep 2001 01:46:51 -0700 (PDT) From: SUGIMURA Takashi To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: docs/30374: logger(1) manpage has wrong with default value of -p option Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 30374 >Category: docs >Synopsis: logger(1) manpage has wrong with default value of -p option >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 06 01:50:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: SUGIMURA Takashi >Release: 4.3-STABLE >Organization: Infoscience Corporation >Environment: FreeBSD kei.infoscience.co.jp 4.3-STABLE FreeBSD 4.3-STABLE #2: Thu Aug 2 13:20:12 JST 2001 root@kei.infoscience.co.jp:/usr/src/sys/compile/NLX i386 >Description: In manpage of logger(1), -p pri Enter the message with the specified priority. The priority may be specified numerically or as a ``facility.level'' pair. For example, ``-p local3.info'' logs the message(s) as informational level in the local3 facility. The default is ``user.notice.'' but this default value is wrong. It seems ``kern.notice.'' >How-To-Repeat: simply run logger such as following; % logger hogehoge getting syslog packet, it has "<5>hogehoge" sequence. 5 is 0x0000 plus 0x0101, so its facility is "kern" and its priority is "notice". >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message