mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-29 15:44:04 +00:00
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>
This commit is contained in:
parent
f4858a490e
commit
3c76bed6a9
@ -314,7 +314,7 @@ generate_static_system() {
|
||||
set system.@system[-1].hostname='OpenWrt'
|
||||
set system.@system[-1].timezone='UTC'
|
||||
set system.@system[-1].ttylogin='0'
|
||||
set system.@system[-1].log_size='64'
|
||||
set system.@system[-1].log_size='128'
|
||||
set system.@system[-1].urandom_seed='0'
|
||||
|
||||
delete system.ntp
|
||||
|
Loading…
x
Reference in New Issue
Block a user