]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: note that journal does not validate syslog fields
authorJan Synacek <jsynacek@redhat.com>
Tue, 14 May 2019 08:45:08 +0000 (10:45 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 15 May 2019 13:09:27 +0000 (15:09 +0200)
man/systemd.journal-fields.xml

index 960b2ec6336c576c6c02fc95982f89d1561e262e..fa374bf0f804d1cdc487a8fed111cd00e5c9e274 100644 (file)
           usually derived from glibc's
           <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>