logging host <ip>
Send syslog messages to a collector over UDP 514. A server collects them once 'systemctl start rsyslog' runs; read them there with 'cat /var/log/syslog'.
'logging trap <level>' filters what is sent (default informational). An ACL denying udp 514 on the path, or a stopped rsyslog, means nothing arrives.
Don't just read it — type logging host <ip> in a real network simulator in your browser and watch it take effect. No install, no account needed to start.
Frequently asked
What does the "logging host <ip>" command do?
Send syslog messages to a collector over UDP 514. A server collects them once 'systemctl start rsyslog' runs; read them there with 'cat /var/log/syslog'.
What's the common gotcha with "logging host <ip>"?
'logging trap <level>' filters what is sent (default informational). An ACL denying udp 514 on the path, or a stopped rsyslog, means nothing arrives.