> For the complete documentation index, see [llms.txt](https://docs.arkannis.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.arkannis.net/networking/openwrt/openwrt-read-logs.md).

# OpenWRT - Read logs

To read logs use:

```bash
logread
```

This will output something similar to:

```bash
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
