summaryrefslogtreecommitdiff
path: root/man/sd_journal_print.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-07-19 14:27:05 +0200
committerLennart Poettering <lennart@poettering.net>2016-07-19 17:51:20 +0200
commit0d23bc57da6a3aeb1e7f92cfd7da2cd831b7c11c (patch)
treecae77d07c8dfd6680e519300004a96f81bbf285e /man/sd_journal_print.xml
parent4c5db93f8a3fe5f332f07af0cf5d17260cb0e861 (diff)
sd-journal: suppress empty lines
Let's make sure our logging APIs is in sync with how stdout/stderr logging works.
Diffstat (limited to 'man/sd_journal_print.xml')
-rw-r--r--man/sd_journal_print.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/man/sd_journal_print.xml b/man/sd_journal_print.xml
index 6fe078d88e..76542527fc 100644
--- a/man/sd_journal_print.xml
+++ b/man/sd_journal_print.xml
@@ -106,7 +106,8 @@
but no such restrictions are enforced. Note that log messages written using this function are generally not
expected to end in a new-line character. However, as all trailing whitespace (including spaces, new-lines,
tabulators and carriage returns) are automatically stripped from the logged string, it is acceptable to specify one
- (or more). Leading whitespace (as well as inner whitespace) is left unmodified however.</para>
+ (or more). Empty lines (after trailing whitespace removal) are suppressed. On non-empty lines, leading whitespace
+ (as well as inner whitespace) is left unmodified. </para>
<para><function>sd_journal_printv()</function> is similar to
<function>sd_journal_print()</function> but takes a variable