I set up remote logging using luci.
External log server: IPv4 IP of remote ubuntu 24.04 with rsyslog and udp listener
Log output level: Debug
Cron log level: Normal
There are only 2 lines on the remote server at /var/log/syslog
grep OpenWrt syslog
2025-07-02T11:24:31+00:00 OpenWrt logread[6380]: Logread connected to redacted:514 via udp
2025-07-02T11:28:50+00:00 OpenWrt root: testLog Blah1
but on OpenWrt:
Wed Jul 2 11:24:31 2025 daemon.info logread[6380]: Logread connected to redacted:514 via udp
Wed Jul 2 11:28:04 2025 authpriv.info dropbear[6680]: Child connection from redacted:38616
Wed Jul 2 11:28:04 2025 authpriv.notice dropbear[6680]: Pubkey auth succeeded for 'root' with ssh-ed25519 key redacted from redacted:38616
Wed Jul 2 11:28:21 2025 authpriv.info dropbear[6680]: Exit (root) from <redacted:38616>: Disconnect received
Wed Jul 2 11:28:49 2025 authpriv.info dropbear[6731]: Child connection from redacted:36214
Wed Jul 2 11:28:50 2025 authpriv.notice dropbear[6731]: Pubkey auth succeeded for 'root' with ssh-ed25519 key redacted from redacted:36214
Wed Jul 2 11:28:50 2025 user.notice root: testLog Blah1
Which log level do I need to log really everything?
I'm doing the remote logging for 1 reason:
At undetermined times the system simply halts/locks up/other aka is no longer available, and I'd like to find out why and when.
When the system locks up, I don't have access to logs, because I can't ssh connect or even do anything via serial port.
So I'd like to have the complete log
I have a hunch that maybe rsyslog is not properly configured to receive or rather log all events, because all I did was enable the udp listener and otherwise use the default ubuntu conf and restart rsyslog