summaryrefslogtreecommitdiffstats
path: root/usr.sbin/syslogd
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2018-09-27 08:33:25 +0000
committerbluhm <bluhm@openbsd.org>2018-09-27 08:33:25 +0000
commitf7e7db21cabb47d15dd3768e9f37fd1e60344ae0 (patch)
treea6425f520f3eabc9f0f60464b613b6afb10c803e /usr.sbin/syslogd
parentUse same working directory rules for jobs as new windows rather than (diff)
downloadwireguard-openbsd-f7e7db21cabb47d15dd3768e9f37fd1e60344ae0.tar.xz
wireguard-openbsd-f7e7db21cabb47d15dd3768e9f37fd1e60344ae0.zip
Document how syslogd(8) escapes characters in log lines.
input jmc@; OK sthen@
Diffstat (limited to 'usr.sbin/syslogd')
-rw-r--r--usr.sbin/syslogd/syslogd.87
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/syslogd/syslogd.8 b/usr.sbin/syslogd/syslogd.8
index d5fa23570f7..f31446f0f83 100644
--- a/usr.sbin/syslogd/syslogd.8
+++ b/usr.sbin/syslogd/syslogd.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: syslogd.8,v 1.59 2018/09/02 14:32:12 bluhm Exp $
+.\" $OpenBSD: syslogd.8,v 1.60 2018/09/27 08:33:25 bluhm Exp $
.\"
.\" Copyright (c) 1983, 1986, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -30,7 +30,7 @@
.\" from: @(#)syslogd.8 8.1 (Berkeley) 6/6/93
.\" $NetBSD: syslogd.8,v 1.3 1996/01/02 17:41:48 perry Exp $
.\"
-.Dd $Mdocdate: September 2 2018 $
+.Dd $Mdocdate: September 27 2018 $
.Dt SYSLOGD 8
.Os
.Sh NAME
@@ -225,6 +225,9 @@ and from
The message sent to
.Nm
should consist of a single line.
+Embedded new line characters are converted to spaces;
+binary data is encoded by
+.Xr vis 3 .
The message can contain a priority code, which should be a preceding
decimal number in angle braces, for example,
.Dq <5> .