|
Line 0
Link Here
|
|
|
1 |
--- util-linux/misc-utils/logger.1 |
| 2 |
+++ util-linux/misc-utils/logger.1 |
| 3 |
@@ -80,35 +80,6 @@ is able to set those socket credentials to the given \fIid\fR, but only if you |
| 4 |
have root permissions and a process with the specified PID exists, otherwise |
| 5 |
the socket credentials are not modified and the problem is silently ignored. |
| 6 |
.TP |
| 7 |
-.BR \-\-journald [ =\fIfile ] |
| 8 |
-Write a systemd journal entry. The entry is read from the given \fIfile\fR, |
| 9 |
-when specified, otherwise from standard input. |
| 10 |
-Each line must begin with a field that is accepted by journald; see |
| 11 |
-.BR systemd.journal-fields (7) |
| 12 |
-for details. The use of a MESSAGE_ID field is generally a good idea, as it |
| 13 |
-makes finding entries easy. Examples: |
| 14 |
-.IP |
| 15 |
-.nf |
| 16 |
-\fB logger \-\-journald <<end |
| 17 |
-\fB MESSAGE_ID=67feb6ffbaf24c5cbec13c008dd72309 |
| 18 |
-\fB MESSAGE=The dogs bark, but the caravan goes on. |
| 19 |
-\fB DOGS=bark |
| 20 |
-\fB CARAVAN=goes on |
| 21 |
-\fB end |
| 22 |
-.IP |
| 23 |
-\fB logger \-\-journald=entry.txt |
| 24 |
-.fi |
| 25 |
-.IP |
| 26 |
-Notice that |
| 27 |
-.B \-\-journald |
| 28 |
-will ignore values of other options, such as priority. If priority is |
| 29 |
-needed it must be within input, and use PRIORITY field. The simple |
| 30 |
-execution of |
| 31 |
-.B journalctl |
| 32 |
-will display MESSAGE field. Use |
| 33 |
-.B journalctl \-\-output json-pretty |
| 34 |
-to see rest of the fields. |
| 35 |
-.TP |
| 36 |
.BR \-\-msgid " \fImsgid |
| 37 |
Sets the RFC5424 MSGID field. Note that the space character is not permitted |
| 38 |
inside of \fImsgid\fR. This option is only used if \fB\-\-rfc5424\fR is |
| 39 |
@@ -342,8 +313,6 @@ For the priority order and intended purposes of these facilities and levels, see |
| 40 |
.B logger \-n loghost.example.com System rebooted |
| 41 |
.SH SEE ALSO |
| 42 |
.BR syslog (3), |
| 43 |
-.BR journalctl (1), |
| 44 |
-.BR systemd.journal-fields (7) |
| 45 |
.SH STANDARDS |
| 46 |
The |
| 47 |
.B logger |