Hi,

I have been asked twice whether syslogd(8) is escaping log data.
Should we document it?

bluhm

Index: usr.sbin/syslogd/syslogd.8
===================================================================
RCS file: /data/mirror/openbsd/cvs/src/usr.sbin/syslogd/syslogd.8,v
retrieving revision 1.59
diff -u -p -r1.59 syslogd.8
--- usr.sbin/syslogd/syslogd.8  2 Sep 2018 14:32:12 -0000       1.59
+++ usr.sbin/syslogd/syslogd.8  26 Sep 2018 19:18:17 -0000
@@ -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> .

Reply via email to