X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsd_journal_print.xml;h=7742268f5d2d351d7be001e0fe222b6acb1e5001;hp=7eac6c8192567749af637c1d8b5cd3aaedc24daf;hb=00addadd86aff6187f1b7abe23bf1c42241b42d9;hpb=18c7ed186be28800a2eeb37ad31c9c44480d3d9c diff --git a/man/sd_journal_print.xml b/man/sd_journal_print.xml index 7eac6c819..7742268f5 100644 --- a/man/sd_journal_print.xml +++ b/man/sd_journal_print.xml @@ -123,7 +123,7 @@ object of type va_list (see stdarg3 for more information) instead of the format string. It - is otherwise equivalent in behaviour. + is otherwise equivalent in behavior. sd_journal_send() may be used to submit structured log entries to the system @@ -131,17 +131,19 @@ immediately followed by their associated parameters, terminated by NULL. The strings passed should be of the format VARIABLE=value. The - variable name must be in uppercase and consist only - of characters, numbers and underscores, and may not - begin with an underscore. The value can be of any size - and format. It is highly recommended to submit - text strings formatted in the UTF-8 character encoding - only, and submit binary fields only when formatting in - UTf-8 strings is not sensible. A number of well known - fields are defined, see + variable name must be in uppercase and consist only of + characters, numbers and underscores, and may not begin + with an underscore. (All assignments that do not + follow this syntax will be ignored.) The value can be + of any size and format. It is highly recommended to + submit text strings formatted in the UTF-8 character + encoding only, and submit binary fields only when + formatting in UTf-8 strings is not sensible. A number + of well known fields are defined, see systemd.journal-fields7 for details, but additional application defined fields - may be used. + may be used. A variable may be assigned more than one + value per entry. sd_journal_sendv() is similar to sd_journal_send() but @@ -192,7 +194,7 @@ sd_journal_send("MESSAGE=Hello World, this is PID %lu!", (unsigned long) getpid( sd-journal.h. syslog3 - and and sd_journal_print() may + and sd_journal_print() may largely be used interchangeably functionality-wise. However, note that log messages logged via the former take a different path to the