From c095131ff943a257dfa60791daeac3d9ba210396 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Sun, 31 Jul 2022 17:32:13 +0200 Subject: [PATCH] man: update logger(1), it can log to remote servers now Signed-off-by: Joachim Wiberg --- man/logger.1 | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/man/logger.1 b/man/logger.1 index f7b44a6..18b14d3 100644 --- a/man/logger.1 +++ b/man/logger.1 @@ -30,7 +30,7 @@ .Os sysklogd .Sh NAME .Nm logger -.Nd Send messages to system log, or a log file +.Nd Send messages to system log daemon, or a log file .Sh SYNOPSIS .Nm .Op Fl 46bchiknsv @@ -48,20 +48,22 @@ .Op Ar MESSAGE .Sh DESCRIPTIOMN .Nm -can be used to log messages to the system log daemon from a UNIX shell, -or script. Optionally a stand-alone log file can be used, in which case -the +can be used to log messages to a local or remote system log daemon, or a +log file, from a UNIX shell, or script. The new .Xr syslogp 3 -API is still used but +API is always used but .Nm syslogd -is bypassed. This log file can also be automatically log rotated. +is bypassed in the remote log daemon and local log file use-cases. The +log file is also be automatically rotated. See below for log rotation +options. .Pp Without a .Ar MESSAGE -argument +argument, .Nm -reads input from -.Ar stdin . +waits for input on +.Ar stdin , +consuming all data until EOF. .Sh OPTIONS This program follows the usual UNIX command line syntax: .Bl -tag -width Ds