documentation/docs/alpine-server-setup/post-install/logging.md

16 lines
263 B
Markdown
Raw Normal View History

# Logging
Enable the logger to log the rc-processes by editing `/etc/rc.conf`
```
rc_logger="YES"
```
To also log the kernel add `klogd`.
```
# apk add sysklogd
# rc-update add klogd boot
```
You can view the logs in `/var/log/dmesg` and `/var/log/messages`.