summaryrefslogtreecommitdiffstats
path: root/usr.bin/logger/logger.1
diff options
context:
space:
mode:
authordwmalone <dwmalone@FreeBSD.org>2000-07-18 08:56:54 +0000
committerdwmalone <dwmalone@FreeBSD.org>2000-07-18 08:56:54 +0000
commitcc48e301037a7473b6f5da1ca019ad6ac61a1ebe (patch)
tree353b23a6ec200b230d02775e5e79488852fb23ed /usr.bin/logger/logger.1
parent55b85b467a41fe2887ca419f2a6f00a6f1f37a20 (diff)
downloadFreeBSD-src-cc48e301037a7473b6f5da1ca019ad6ac61a1ebe.zip
FreeBSD-src-cc48e301037a7473b6f5da1ca019ad6ac61a1ebe.tar.gz
Allow logger to send messages directly to a remote syslog. (This
only does IPv4 as our syslogd only does IPv4. I dunno if the KAME people have any plans for syslogd). PR: 19821 Submitted by: Nick Hilliard <nick@iol.ie> Reviewed by: sheldonh
Diffstat (limited to 'usr.bin/logger/logger.1')
-rw-r--r--usr.bin/logger/logger.15
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.bin/logger/logger.1 b/usr.bin/logger/logger.1
index 9062fb3..a5f52a2 100644
--- a/usr.bin/logger/logger.1
+++ b/usr.bin/logger/logger.1
@@ -42,6 +42,7 @@
.Nm
.Op Fl is
.Op Fl f Ar file
+.Op Fl h Ar host
.Op Fl p Ar pri
.Op Fl t Ar tag
.Op Ar message ...
@@ -60,6 +61,10 @@ with each line.
Log the message to standard error, as well as the system log.
.It Fl f Ar file
Log the specified file.
+.It Fl h Ar host
+Send the message to the remote system
+.Ar host
+instead of logging it locally.
.It Fl p Ar pri
Enter the message with the specified priority.
The priority may be specified numerically or as a ``facility.level''
OpenPOWER on IntegriCloud