Table of Contents

journald

Follow journal and show only entries with err priority

journalctl -p err -f

Valid priorities are (syslog):

Assigning stderr priorities

man 3 sd-daemon
fprintf(stderr, SD_NOTICE "Hello World!\n")

reduce journal size

# runtime
sudo journalctl --vacuum-size=50M
 
# permanent
echo SystemMaxUse=50M | sudo tee -a /etc/systemd/journald.conf