Logging

Syslog

The default installation comes with no syslog daemon, there are different implementations available.

Socklog

socklog is the implementation from the runit(8) author and Void Linux provides a package with some basic configuration for it, this makes it a good choice if you don't know which one to choose.

# xbps-install -S socklog-void
# ln -s /etc/sv/socklog-unix /var/service/
# ln -s /etc/sv/nanoklogd /var/service/

The logs are saved to /var/log/socklog/ into different subdirectories.

Reading logs limited to root and users part of the socklog group. Users can be added to the group to be able to read logs:

# usermod -aG socklog <your username>

Other syslog daemons

Other syslog implementations like rsyslog and metalog are available in the package repository too.