From f7e7db21cabb47d15dd3768e9f37fd1e60344ae0 Mon Sep 17 00:00:00 2001 From: bluhm Date: Thu, 27 Sep 2018 08:33:25 +0000 Subject: Document how syslogd(8) escapes characters in log lines. input jmc@; OK sthen@ --- usr.sbin/syslogd/syslogd.8 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'usr.sbin/syslogd') 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> . -- cgit v1.2.3-59-g8ed1b