logger: add support for -H NAME to override system hostname
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
.Op Fl d Ar SD
|
||||
.Op Fl f Ar FILE
|
||||
.Op Fl h Ar HOST
|
||||
.Op Fl H Ar HOSTNAME
|
||||
.Op Fl m Ar MSGID
|
||||
.Op Fl p Ar PRIO
|
||||
.Op Fl P Ar PORT
|
||||
@@ -95,6 +96,11 @@ accepts
|
||||
.Fl f-
|
||||
as an alias for
|
||||
.Ar stdout .
|
||||
.It Fl H Ar hostname
|
||||
Set the hostname in the header of the message to specified value.
|
||||
If not specified, host part of
|
||||
.Xr gethostname 3
|
||||
will be used.
|
||||
.It Fl h Ar host
|
||||
Send the message to the remote system
|
||||
.Ar host
|
||||
|
||||
Reference in New Issue
Block a user