diff options
author | Duncaen <mail@duncano.de> | 2018-06-22 15:04:47 +0200 |
---|---|---|
committer | Duncaen <mail@duncano.de> | 2018-06-22 16:53:50 +0200 |
commit | 64acdc39935548eeca43fd3c31a6e59faa008a9b (patch) | |
tree | 35b56a815d23c75b5102b0a2275592c6d6feba6e /vlogger.8 | |
parent | 3095ba6629084a92542631fe8402070e5f089161 (diff) | |
download | runit-void-64acdc39935548eeca43fd3c31a6e59faa008a9b.tar.gz runit-void-64acdc39935548eeca43fd3c31a6e59faa008a9b.tar.xz runit-void-64acdc39935548eeca43fd3c31a6e59faa008a9b.zip |
vlogger: add logger(1) compatible -s and -i flag, and -S to force syslog
Diffstat (limited to 'vlogger.8')
-rw-r--r-- | vlogger.8 | 30 |
1 files changed, 27 insertions, 3 deletions
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 |