From 64acdc39935548eeca43fd3c31a6e59faa008a9b Mon Sep 17 00:00:00 2001 From: Duncaen Date: Fri, 22 Jun 2018 15:04:47 +0200 Subject: vlogger: add logger(1) compatible -s and -i flag, and -S to force syslog --- vlogger.8 | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) (limited to 'vlogger.8') diff --git a/vlogger.8 b/vlogger.8 index 9dcb92d..cae3b12 100644 --- a/vlogger.8 +++ b/vlogger.8 @@ -6,7 +6,8 @@ .Nd log messages to syslog or an arbitrary executable .Sh SYNOPSIS .Nm vlogger -.Op Fl p Ar priority +.Op Fl isS +.Op Fl p Ar pri .Op Fl t Ar tag .Sh DESCRIPTION By default, @@ -36,10 +37,33 @@ it uses .Dv foo as default .Ar tag . +.Pp +The options are as follows: .Bl -tag -width indent -.It Fl p Ar priority +.It Fl S +Force +.Nm +to use +.Xr syslog 3 +even if +.Pa /etc/vlogger +exists. +.It Fl s +Output the message to standard error, as well as +.Xr syslog 3 . +Only supported if +.Xr syslog 3 +is used. +.It Fl i +Log the PID of the +.Nm +process. +Only supported if +.Xr syslog 3 +is used. +.It Fl p Ar pri The. -.Ar priority +.Ar pri can be .Pa facility.level or just -- cgit 1.4.1