X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsd_journal_stream_fd.xml;h=e7bd661a7a59c88aace615f6623b8b823e4b2dc9;hp=4407296b4059f1efce81a518cd098b527d94a519;hb=effbc8e4f70fc70e4a4a8a1dc77228dd187f9c22;hpb=f274ece0f76b5709408821e317e87aef76123db6 diff --git a/man/sd_journal_stream_fd.xml b/man/sd_journal_stream_fd.xml index 4407296b4..e7bd661a7 100644 --- a/man/sd_journal_stream_fd.xml +++ b/man/sd_journal_stream_fd.xml @@ -67,10 +67,10 @@ sd_journal_stream_fd() may be used to create a log stream file descriptor. Log messages written to this file descriptor as simple - newline separated text strings are written to the + newline-separated text strings are written to the journal. This file descriptor can be used internally - by applications or be made STDOUT/STDERR of other - processes executed. + by applications or be made standard output or standard + error of other processes executed. sd_journal_stream_fd() takes a short program identifier string as first @@ -79,19 +79,19 @@ systemd.journal-fields7 for more information). The second argument shall be the default priority level for all messages. The - priority level is one of LOG_EMERG, - LOG_ALERT, - LOG_CRIT, - LOG_ERR, - LOG_WARNING, - LOG_NOTICE, - LOG_INFO, - LOG_DEBUG, as defined in + priority level is one of LOG_EMERG, + LOG_ALERT, + LOG_CRIT, + LOG_ERR, + LOG_WARNING, + LOG_NOTICE, + LOG_INFO, + LOG_DEBUG, as defined in syslog.h, see syslog3 for details. The third argument is a boolean: if true kernel-style log priority level prefixes (such as - SD_WARNING) are interpreted, see + SD_WARNING) are interpreted, see sd-daemon3 for more information. @@ -112,10 +112,9 @@ Notes The sd_journal_stream_fd() - interface is available as shared library, which can + interface is available as a shared library, which can be compiled and linked to with the - libsystemd-journal - pkg-config1 + libsystemd pkg-config1 file.