Manual Page Search Parameters

VLOGGER(8) System Manager's Manual VLOGGER(8)

vlogger
log messages to syslog or an arbitrary executable

vlogger [
-isS
] [
-f file
] [
-p pri
] [
-t tag
] [
message ...
]

By default, vlogger reads lines from stdin and sends them to syslog. If the file /etc/vlogger exists and is executable it is executed with tag as only argument and replaces vlogger.
If vlogger is executed as a log service for runit(8) or another daemontools like supervision suite it uses the service name as default tag. As example if vlogger is linked to /var/service/foo/log/run it uses foo as default tag.
The options are as follows:
 
 
file
Read lines from the specified file. This
 
 
Log the PID of the vlogger process. Only supported if syslog(3) is used.
 
 
pri
The. pri can be facility.level or just facility. See FACILITIES, LEVELS or syslog(3). The default is daemon.info.
 
 
Force vlogger to use syslog(3) even if /etc/vlogger exists.
 
 
Output the message to standard error, as well as syslog(3). Only supported if syslog(3) is used.
 
 
tag
Defines the openlog(3) ident which is used as prefix for each log message or passed as first argument to /etc/vlogger.
 
 
message
Write the message to the log.

auth
 
authpriv
 
cron
 
daemon
 
ftp
 
kern
can not be used from userspace replaced with daemon.
lpr
 
mail
 
news
 
syslog
 
user
 
uucp
 
local[0-7]
 
security
deprecated synonym for auth.

emerg
 
alert
 
crit
 
err
 
warning
 
notice
 
info
 
debug
 
panic
deprecated synonym for emerg.
error
deprecated synonym for err.
warn
deprecated synonym for warning.

 
 
/etc/vlogger
An optional executable file that is used to to handle the messages. It is executed with tag, level and facility as arguments and replaces the vlogger process.

The vlogger utility exits 0 on success, and >0 if an error occurs.

/etc/vlogger:
#!/bin/sh 
exec svlogd /var/log/$1

logger(1), syslog(3), svlogd(8)

This program is a replacement for the logger utility provided by util-linux.

Duncan Overbruck <mail@duncano.de>

vlogger is in the public domain.
To the extent possible under law, the creator of this work has waived all copyright and related or neighboring rights to this work.
http://creativecommons.org/publicdomain/zero/1.0/
March 1, 2017 x86_64