From 57a898bcfaf4bf1694c92ec4c9ec4649e965077a Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Thu, 21 Jul 2016 00:07:22 +0200 Subject: Increase the default system log buffer size from 16 kB (default both in logd source and in the startup script) to 64 kB by adjusting the default value in startup script. Signed-off-by: Hannu Nyman --- package/system/ubox/Makefile | 2 +- package/system/ubox/files/log.init | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/system/ubox/Makefile b/package/system/ubox/Makefile index f9f1ac17f1..88b12be225 100644 --- a/package/system/ubox/Makefile +++ b/package/system/ubox/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ubox -PKG_VERSION:=2016-03-07 +PKG_VERSION:=2016-06-08 PKG_RELEASE=$(PKG_SOURCE_VERSION) PKG_SOURCE_PROTO:=git diff --git a/package/system/ubox/files/log.init b/package/system/ubox/files/log.init index 53c936e246..722dc20e90 100644 --- a/package/system/ubox/files/log.init +++ b/package/system/ubox/files/log.init @@ -35,7 +35,7 @@ start_service_daemon() local log_buffer_size log_size validate_log_daemon "${1}" [ $log_buffer_size -eq 0 -a $log_size -gt 0 ] && log_buffer_size=$log_size - [ $log_buffer_size -eq 0 ] && log_buffer_size=16 + [ $log_buffer_size -eq 0 ] && log_buffer_size=64 procd_open_instance procd_set_param command "/sbin/logd" procd_append_param command -S "${log_buffer_size}" -- cgit v1.2.3