From b29a3c4d11ec1cf778b253e3c3fbbf04b0794f86 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Wed, 1 Mar 2017 19:15:03 +0100 Subject: Add vlogger(8) vlogger(8) is a alternative to logger(1), by default it sends messages from stdin to syslog. The main reason to replace logger(1) is, that logger only connects once to the syslog socket in default mode and puts all messages into the void if syslog is not running at the time. logger(1) has a new `--socket-errors=on` mode which would work, but some void uses don't use syslog at all and in this case the log service would constantly restart. As a bonus vlogger(8) looks for /etc/vlogger and if its executable it just executes it and is replaced by it. This can be used to avoid syslog and just write all logs to files with svlogd(8) as example, without having to edit all log services. --- .gitignore | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index ed231ec..2440471 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ halt pause +vlogger -- cgit 1.4.1