summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2011-07-25 18:33:19 +0000
committerjmc <jmc@openbsd.org>2011-07-25 18:33:19 +0000
commitf6a79b038f3ea88d29ef964843dc98d3e394acf0 (patch)
tree5cee2968482090a39dc6cdc05d33a93003598f9b
parent- Use strtof instead of casting strtod back to float (apprentice.c), (diff)
downloadwireguard-openbsd-f6a79b038f3ea88d29ef964843dc98d3e394acf0.tar.xz
wireguard-openbsd-f6a79b038f3ea88d29ef964843dc98d3e394acf0.zip
document syslog facility/level; from Stefan Unterweger
ok dcoppa
-rw-r--r--usr.sbin/pppd/chat/chat.820
1 files changed, 13 insertions, 7 deletions
diff --git a/usr.sbin/pppd/chat/chat.8 b/usr.sbin/pppd/chat/chat.8
index d63bde3922c..ced14861456 100644
--- a/usr.sbin/pppd/chat/chat.8
+++ b/usr.sbin/pppd/chat/chat.8
@@ -1,7 +1,7 @@
-.\" $OpenBSD: chat.8,v 1.18 2010/10/28 18:34:44 jmc Exp $
+.\" $OpenBSD: chat.8,v 1.19 2011/07/25 18:33:19 jmc Exp $
.\" Id: chat.8,v 1.7 1998/02/04 01:35:49 paulus Exp $
.\" manual page [] for chat 1.8
-.Dd $Mdocdate: October 28 2010 $
+.Dd $Mdocdate: July 25 2011 $
.Dt CHAT 8
.Os
.Sh NAME
@@ -58,8 +58,12 @@ file is used for the report strings.
.It Fl S
Do not use
.Xr syslog 3 .
-By default, error messages are logged via
-.Xr syslog 3 .
+By default, error messages are logged through
+.Xr syslog 3
+with facility
+.Dq local2
+and level
+.Dq warning .
The use of
.Fl S
will prevent both log messages from
@@ -110,9 +114,11 @@ The
.Nm
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 via
-.Xr syslog 3 ;
-the logging method may be altered with the
+The default is to log through
+.Xr syslog 3
+with level
+.Dq info ,
+though this may be altered with the
.Fl S
and
.Fl s