|VLOGGER(8)||System Manager's Manual||VLOGGER(8)|
vloggerutility writes messages to the system log or an arbitrary executable.
vlogger is executed as
logger it will always use the system log and behave
like the regular logger(1).
Without message arguments
vlogger reads messages from
stdin or the file specified with the
-f flag. If the /etc/vlogger
vlogger executes it with
tag, level and
facility as arguments, replacing the
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
linked to /var/service/foo/log/run it uses
“foo” as tag and
“daemon.notice” as pri.
The options are as follows:
vloggerprocess. Only supported if syslog(3) is used.
vloggerto use syslog(3) even if /etc/vlogger exists.
vloggerutility exits 0 on success, and >0 if an error occurs.
#!/bin/sh exec svlogd /var/log/$1
loggerutility provided by
vloggeris 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.
|March 1, 2017||x86_64|