Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Sep 2001 01:46:51 -0700 (PDT)
From:      SUGIMURA Takashi <sugimura@jp.FreeBSD.org>
To:        freebsd-gnats-submit@freebsd.org
Subject:   docs/30374: logger(1) manpage has wrong with default value of -p option
Message-ID:  <200109060846.f868kpG24722@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109060846.f868kpG24722>