Subject: bin/9693: chat(8) doesn't document syslog facility
To: None <gnats-bugs@gnats.netbsd.org>
From: John Hawkinson <jhawk@mit.edu>
List: netbsd-bugs
Date: 03/28/2000 14:46:36
>Number:         9693
>Category:       bin
>Synopsis:       chat(8) doesn't document syslog facility
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 28 14:45:00 2000
>Last-Modified:
>Originator:     John Hawkinson
>Organization:
	MIT
>Release:        NetBSD 1.4.2
>Environment:
	
System: NetBSD zorkmid.mit.edu 1.4.2 NetBSD 1.4.2 (ZORKMID) #10: Mon Mar 27 12:33:31 CST 2000 jhawk@zorkmid.mit.edu:/usr/src/sys/arch/i386/compile/ZORKMID i386


>Description:
	This is also present in -current.

	chat(8) fails to document that it logs to facility local2.
This is hardly the expected thing (perhaps daemon, perhaps uucp,
but local2??? Go figure).

>How-To-Repeat:
	Debug your ppp chat scripts.

>Fix:
	

===================================================================
RCS file: usr.sbin/pppd/chat/RCS/chat.8,v
retrieving revision 1.1
retrieving revision 1.2
diff -c -r1.1 -r1.2
*** usr.sbin/pppd/chat/chat.8	2000/03/28 02:48:08	1.1
--- usr.sbin/pppd/chat/chat.8	2000/03/28 02:52:37	1.2
***************
*** 55,61 ****
  \fIchat\fR program will then log the execution state of the chat
  script as well as all text received from the modem and the output
  strings sent to the modem.  The default is to log through the SYSLOG;
! the logging method may be altered with the -S and -s flags.
  .TP
  .B -V
  Request that the \fIchat\fR script be executed in a stderr verbose
--- 55,62 ----
  \fIchat\fR program will then log the execution state of the chat
  script as well as all text received from the modem and the output
  strings sent to the modem.  The default is to log through the SYSLOG;
! the logging method may be altered with the -S and -s flags. SYSLOGs
! are logged to facility LOG_LOCAL2.
  .TP
  .B -V
  Request that the \fIchat\fR script be executed in a stderr verbose
***************
*** 71,77 ****
  .B -S
  Do not use the SYSLOG.  By default, error messages are sent to the
  SYSLOG.  The use of -S will prevent both log messages from '-v' and
! error messages from being sent to the SYSLOG.
  .TP
  .B -T \fI<phone number>
  Pass in an arbitary string, usually a phone number, that will be
--- 72,78 ----
  .B -S
  Do not use the SYSLOG.  By default, error messages are sent to the
  SYSLOG.  The use of -S will prevent both log messages from '-v' and
! error messages from being sent to the SYSLOG (to facility LOG_LOCAL2).
  .TP
  .B -T \fI<phone number>
  Pass in an arbitary string, usually a phone number, that will be
***************
*** 405,411 ****
  .I (not valid in expect.)
  .TP
  .B \\\\q
! Suppress writing the string to the SYSLOG file. The string ?????? is
  written to the log in its place.
  .I (not valid in expect.)
  .TP
--- 406,412 ----
  .I (not valid in expect.)
  .TP
  .B \\\\q
! Suppress writing the string to the SYSLOG. The string ?????? is
  written to the log in its place.
  .I (not valid in expect.)
  .TP
>Audit-Trail:
>Unformatted: