summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Synacek <jsynacek@redhat.com>2019-05-14 10:45:08 +0200
committerThe Plumber <50238977+systemd-rhel-bot@users.noreply.github.com>2019-07-26 13:44:44 +0200
commit705a67a53a8a1b836ef17f048366bbf33357afc1 (patch)
tree1a0d3ebc4e8232412cbbd6e043b8865cf7af2879
parent8d1a8f099dbf79d0e18e055721228192a637a759 (diff)
downloadsystemd-705a67a53a8a1b836ef17f048366bbf33357afc1.tar.gz
man: note that journal does not validate syslog fields
(cherry picked from commit 63ea8032f28052f7cda860e5324c0a83dee7ed23) Resolves: #1707175
-rw-r--r--man/systemd.journal-fields.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/man/systemd.journal-fields.xml b/man/systemd.journal-fields.xml
index c079274c32..0c95c4cd95 100644
--- a/man/systemd.journal-fields.xml
+++ b/man/systemd.journal-fields.xml
@@ -111,6 +111,11 @@
<varname>program_invocation_short_name</varname> variable,
see
<citerefentry project='die-net'><refentrytitle>program_invocation_short_name</refentrytitle><manvolnum>3</manvolnum></citerefentry>.)</para>
+ <para>Note that the journal service does not validate the values of any structured
+ journal fields whose name is not prefixed with an underscore, and this includes any
+ syslog related fields such as these. Hence, applications that supply a facility, PID,
+ or log level are expected to do so properly formatted, i.e. as numeric integers formatted
+ as decimal strings.</para>
</listitem>
</varlistentry>