OpenWRT - Read logs

To read logs use:

logread

This will output something similar to:

Mon Jan 31 10:50:17 2022 daemon.notice netifd: Network device 'wg0' link is down
Mon Jan 31 10:50:17 2022 daemon.notice netifd: Interface 'wg0' is now down
Mon Jan 31 10:50:17 2022 daemon.notice netifd: Interface 'wg0' is setting up now
Mon Jan 31 10:50:17 2022 daemon.notice netifd: Interface 'wg0' is now up
Mon Jan 31 10:50:17 2022 daemon.notice netifd: Network device 'wg0' link is up
Mon Jan 31 10:50:17 2022 user.notice firewall: Reloading firewall due to ifup of wg0 (wg0)

Useful if you want to see what the issue is or what direction to look at

Last updated