rsyslog — system logs
cheat sheet · Ubuntu 24.04 · rsyslog https://lab.dimsanych.ru/en/wiki/rsyslog/Cheat sheet
-
tail -f /var/log/sysloggeneral system log in real time -
tail -f /var/log/auth.loglogins, sudo, ssh in real time -
sudo rsyslogd -N1check the config syntax -
logger -p auth.info "msg"write a test entry to syslog -
sudo systemctl restart rsyslogapply config changes