> 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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.arkannis.net/networking/openwrt/openwrt-read-logs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
