summaryrefslogtreecommitdiffstats
path: root/misc-utils/logger.1
diff options
context:
space:
mode:
authorRainer Gerhards2015-03-10 17:47:30 +0100
committerRainer Gerhards2015-03-10 17:47:30 +0100
commit55f5bc662e69a96c666d097eb5110ea8b3e93d20 (patch)
treea8473de1d8ae89dce16a186e97dac665ebd2b8c1 /misc-utils/logger.1
parentlogger: fix multiple format bugs in rfc5424 formatter (diff)
downloadkernel-qcow2-util-linux-55f5bc662e69a96c666d097eb5110ea8b3e93d20.tar.gz
kernel-qcow2-util-linux-55f5bc662e69a96c666d097eb5110ea8b3e93d20.tar.xz
kernel-qcow2-util-linux-55f5bc662e69a96c666d097eb5110ea8b3e93d20.zip
logger: add --msgid option, permits to set RFC5424 MSGID field
Diffstat (limited to 'misc-utils/logger.1')
-rw-r--r--misc-utils/logger.16
1 files changed, 6 insertions, 0 deletions
diff --git a/misc-utils/logger.1 b/misc-utils/logger.1
index d0293a801..e22ffbecb 100644
--- a/misc-utils/logger.1
+++ b/misc-utils/logger.1
@@ -95,6 +95,12 @@ will display MESSAGE field. Use
.B journalctl --output json-pretty
to see rest of the fields.
.TP
+.BR \-\-msgid " \fIMSGID
+Sets the RFC5424 MSGID field. Note that the space character is not permitted
+inside of \fIMSGID\fR. This option is only used if \fB\-\-rfc5424\fR is
+specified as well. Otherwise, it is silently ignored.
+
+.TP
.BR \-\--size " \fIsize
Sets the maximum permitted message size to \fIsize\fR. The default
is 1KiB characters, which is the limit traditionally used and specified