syslog
Cheat sheet · https://pcornel.dk/topic.php?topic=2821
Answer
Syslog is the standard log message format and protocol: each message has a facility (kern, auth, daemon, local0–7 …), a severity (0 emerg to 7 debug), a timestamp, host and text, sent on UDP/TCP 514 (RFC 5424).
Remember
Severity filters include everything at that level and more severe (*.warning). Network devices usually send to local0–7. Plain UDP syslog can lose messages and is unencrypted — use TCP or TLS where it matters.
First checks
journalctl -b -p warning— warnings and errors since bootjournalctl -u <unit> -f— follow one unit's logls -lh /var/log— log files and sizeslogger -p user.info test— send a test message
Verify in this order
sender tags facility and severity → message sent on 514 → receiver filters → stored
Where it usually breaks
First mismatch in persistent unit/config/generator → dependency/order graph → systemd state → process/cgroup → socket/resource dependency → journal → consumer check; preserve identity/native diagnostic/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2821