base-files: increase default system log size to 128 kB
authorHannu Nyman <hannu.nyman@iki.fi>
Thu, 17 Oct 2024 17:33:36 +0000 (20:33 +0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 19 Oct 2024 12:14:00 +0000 (14:14 +0200)
commit3c76bed6a973539712d94f413f275ec37703d823
tree87726f6862d431a04364bef2bcec6eb4cd065b64
parentf4858a490e56df1e06d6a6aeb63ea611d5c47181
base-files: increase default system log size to 128 kB

Increase the default system log buffer size option
in /etc/config/system from 64 kB to 128 kB.

64 kB is barely enough for the boot items of a modern router
with a few add-on packages, but any subsequent logging will
quickly cause the early boot items to get overwritten in the
round-robin log buffer. Double the buffer size to 128 kB.

(Note: built-in default in ubox logd itself is still 16 kB)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Link: https://github.com/openwrt/openwrt/pull/16723
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/base-files/files/bin/config_generate