Skip to content

Commit 2f55aea

Browse files
poetteringsystemd-rhel-bot
authored andcommitted
man: document the new _LINE_BREAK= type
(cherry picked from commit a3d9aee) Related: #2029426
1 parent afcfb65 commit 2f55aea

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

man/systemd.journal-fields.xml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -326,15 +326,16 @@
326326
<varlistentry>
327327
<term><varname>_LINE_BREAK=</varname></term>
328328
<listitem>
329-
<para>Only applies to <literal>_TRANSPORT=stdout</literal> records: indicates that the log message in the
330-
standard output/error stream was not terminated with a normal newline character (<literal>\n</literal>,
331-
i.e. ASCII 10). Specifically, when set this field is one of <option>nul</option> (in case the line was
332-
terminated by a NUL byte), <option>line-max</option> (in case the maximum log line length was reached, as
333-
configured with <varname>LineMax=</varname> in
334-
<citerefentry><refentrytitle>journald.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>) or
335-
<option>eof</option> (if this was the last log record of a stream and the stream ended without a final
336-
newline character). Note that this record is not generated when a normal newline character was used for
337-
marking the log line end.</para>
329+
<para>Only applies to <literal>_TRANSPORT=stdout</literal> records: indicates that the log message
330+
in the standard output/error stream was not terminated with a normal newline character
331+
(<literal>\n</literal>, i.e. ASCII 10). Specifically, when set this field is one of
332+
<option>nul</option> (in case the line was terminated by a NUL byte), <option>line-max</option> (in
333+
case the maximum log line length was reached, as configured with <varname>LineMax=</varname> in
334+
<citerefentry><refentrytitle>journald.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>),
335+
<option>eof</option> (if this was the last log record of a stream and the stream ended without a
336+
final newline character), or <option>pid-change</option> (if the process which generated the log
337+
output changed in the middle of a line). Note that this record is not generated when a normal
338+
newline character was used for marking the log line end.</para>
338339
</listitem>
339340
</varlistentry>
340341
</variablelist>

0 commit comments

Comments
 (0)