{"action":"created","issue":{"url":"https://api.github.com/repos/voidlinux/void-runit/issues/65","repository_url":"https://api.github.com/repos/voidlinux/void-runit","labels_url":"https://api.github.com/repos/voidlinux/void-runit/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/voidlinux/void-runit/issues/65/comments","events_url":"https://api.github.com/repos/voidlinux/void-runit/issues/65/events","html_url":"https://github.com/voidlinux/void-runit/pull/65","id":211185445,"node_id":"MDExOlB1bGxSZXF1ZXN0MTA4NjEyMjgx","number":65,"title":"Add vlogger(8)","user":{"login":"Duncaen","id":2813151,"node_id":"MDQ6VXNlcjI4MTMxNTE=","avatar_url":"https://avatars1.githubusercontent.com/u/2813151?v=4","gravatar_id":"","url":"https://api.github.com/users/Duncaen","html_url":"https://github.com/Duncaen","followers_url":"https://api.github.com/users/Duncaen/followers","following_url":"https://api.github.com/users/Duncaen/following{/other_user}","gists_url":"https://api.github.com/users/Duncaen/gists{/gist_id}","starred_url":"https://api.github.com/users/Duncaen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Duncaen/subscriptions","organizations_url":"https://api.github.com/users/Duncaen/orgs","repos_url":"https://api.github.com/users/Duncaen/repos","events_url":"https://api.github.com/users/Duncaen/events{/privacy}","received_events_url":"https://api.github.com/users/Duncaen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-03-01T19:36:58Z","updated_at":"2018-06-02T21:52:08Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/voidlinux/void-runit/pulls/65","html_url":"https://github.com/voidlinux/void-runit/pull/65","diff_url":"https://github.com/voidlinux/void-runit/pull/65.diff","patch_url":"https://github.com/voidlinux/void-runit/pull/65.patch"},"body":"vlogger(8) is a alternative to logger(1), by default it sends messages\r\nfrom stdin to syslog.\r\n\r\nThe main reason to replace logger(1) is, that logger only connects once to\r\nthe syslog socket in default mode and puts all messages into the void if\r\nsyslog is not running at the time.\r\nlogger(1) has a new `--socket-errors=on` mode which would work, but some\r\nvoid uses don't use syslog at all and in this case the log service would\r\nconstantly restart.\r\n\r\nAs a bonus vlogger(8) looks for /etc/vlogger and if its executable it\r\njust executes it and is replaced by it.\r\nThis can be used to avoid syslog and just write all logs to files with\r\nsvlogd(8) as example, without having to edit all log services.\r\n\r\n```\r\nVLOGGER(8)                  System Manager's Manual                 VLOGGER(8)\r\n\r\nNAME\r\n     vlogger – log messages to syslog or an arbitrary executable\r\n\r\nSYNOPSIS\r\n     vlogger [-p priority] [-t tag]\r\n\r\nDESCRIPTION\r\n     By default, vlogger reads lines from stdin and sends them to syslog.  If\r\n     the file /etc/vlogger exists and is executable it is executed with tag as\r\n     only argument and replaces vlogger.\r\n\r\n     If vlogger is executed as a log service for runit or another daemontools\r\n     like supervision suite it uses the service name as default tag.  As\r\n     example if vlogger is linked to /var/service/foo/log/run it uses foo as\r\n     default tag.\r\n\r\n     -p priority\r\n             The.  priority can be facility.level or just facility.  See\r\n             FACILITIES, LEVELS or syslog(3).  The default is daemon.info.\r\n\r\n     -t tag  Defines the openlog(3) ident which is used as prefix for each log\r\n             message or passed as first argument to /etc/vlogger.\r\n\r\nFACILITIES\r\n     auth\r\n     authpriv\r\n     cron\r\n     daemon\r\n     ftp\r\n     kern         can not be used from userspace replaced with daemon.\r\n     lpr\r\n     mail\r\n     news\r\n     syslog\r\n     user\r\n     uucp\r\n     local[0-7]\r\n     security     deprecated synonym for auth.\r\n\r\nLEVELS\r\n     emerg\r\n     alert\r\n     crit\r\n     err\r\n     warning\r\n     notice\r\n     info\r\n     debug\r\n     panic        deprecated synonym for emerg.\r\n     error        deprecated synonym for err.\r\n     warn         deprecated synonym for warning.\r\n\r\nFILES\r\n     /etc/vlogger\r\n             An optional executable file that is used to to handle the\r\n             messages.  It is executed with tag as first argument and replaces\r\n             the vlogger process.\r\n\r\nEXIT STATUS\r\n     The vlogger utility exits 0 on success, and >0 if an error occurs.\r\n\r\nEXAMPLES\r\n     /etc/vlogger:\r\n\r\n           #!/bin/sh\r\n           exec svlogd /var/log/$1\r\n\r\nSEE ALSO\r\n     logger(1), syslog(3), svlogd(8)\r\n\r\nHISTORY\r\n     This program is a replacement for the logger utility provided by\r\n     util-linux.\r\n\r\nAUTHOR\r\n     Duncan Overbruck <mail@duncano.de>\r\n\r\nLICENSE\r\n     vlogger is in the public domain.\r\n\r\n     To the extent possible under law, the creator of this work has waived all\r\n     copyright and related or neighboring rights to this work.\r\n\r\n     http://creativecommons.org/publicdomain/zero/1.0/\r\n\r\nLinux                            March 1, 2017                           Linux\r\n```"},"comment":{"url":"https://api.github.com/repos/voidlinux/void-runit/issues/comments/394119802","html_url":"https://github.com/voidlinux/void-runit/pull/65#issuecomment-394119802","issue_url":"https://api.github.com/repos/voidlinux/void-runit/issues/65","id":394119802,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDExOTgwMg==","user":{"login":"CMB","id":34524,"node_id":"MDQ6VXNlcjM0NTI0","avatar_url":"https://avatars1.githubusercontent.com/u/34524?v=4","gravatar_id":"","url":"https://api.github.com/users/CMB","html_url":"https://github.com/CMB","followers_url":"https://api.github.com/users/CMB/followers","following_url":"https://api.github.com/users/CMB/following{/other_user}","gists_url":"https://api.github.com/users/CMB/gists{/gist_id}","starred_url":"https://api.github.com/users/CMB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CMB/subscriptions","organizations_url":"https://api.github.com/users/CMB/orgs","repos_url":"https://api.github.com/users/CMB/repos","events_url":"https://api.github.com/users/CMB/events{/privacy}","received_events_url":"https://api.github.com/users/CMB/received_events","type":"User","site_admin":false},"created_at":"2018-06-02T21:52:08Z","updated_at":"2018-06-02T21:52:08Z","author_association":"CONTRIBUTOR","body":"Looks like this issue fell off the radar.\n"}}
{"actor":{"display_login":"CMB"}}