
Why and How You Should Persist Your OpenWrt Logs?
You restart your OpenWrt router to apply a new setting, and just like that—poof—every log file is gone. The mystery Wi-Fi disconnect from 3 AM? The firewall block you were trying to debug? Wiped. This is the default behavior for most OpenWrt users. By default, OpenWrt’s logging daemon, logd, writes to a circular buffer in RAM. This is a smart design for performance and to protect the limited flash storage on a router, but it has two massive drawbacks: ...

