From 56c3f9fc9b83063b4c4ebe1fd8cf1c96336c31b1 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 12 Dec 2020 16:33:45 -0500 Subject: busybox: Enable circular buffer system logging --- diff --git a/changelog b/changelog index bb7ad25..81be74c 100644 --- a/changelog +++ b/changelog @@ -2,6 +2,8 @@ config-x60 (2.4) trunk * config-busybox-x60: Enable blkid (will be used by lilo). * config-busybox-x60: Enable vi window resizing. + * config-busybox-x60: Enable logger, logread, and syslogd (with + circular buffer). * config-linux-libre-4.19-x60: New upstream version. * config-linux-libre-4.19-x60: Enable AF_UNIX sockets (needed by wget for HTTPS). diff --git a/src/build/busybox_1.32.0/config b/src/build/busybox_1.32.0/config index 0934efb..cab09dc 100644 --- a/src/build/busybox_1.32.0/config +++ b/src/build/busybox_1.32.0/config @@ -1171,16 +1171,16 @@ CONFIG_FEATURE_SH_HISTFILESIZE=y # # CONFIG_KLOGD is not set # CONFIG_FEATURE_KLOGD_KLOGCTL is not set -# CONFIG_LOGGER is not set -# CONFIG_LOGREAD is not set +CONFIG_LOGGER=y +CONFIG_LOGREAD=y # CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING is not set -# CONFIG_SYSLOGD is not set +CONFIG_SYSLOGD=y # CONFIG_FEATURE_ROTATE_LOGFILE is not set # CONFIG_FEATURE_REMOTE_LOG is not set # CONFIG_FEATURE_SYSLOGD_DUP is not set # CONFIG_FEATURE_SYSLOGD_CFG is not set # CONFIG_FEATURE_SYSLOGD_PRECISE_TIMESTAMPS is not set -CONFIG_FEATURE_SYSLOGD_READ_BUFFER_SIZE=0 -# CONFIG_FEATURE_IPC_SYSLOG is not set -CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=0 +CONFIG_FEATURE_SYSLOGD_READ_BUFFER_SIZE=256 +CONFIG_FEATURE_IPC_SYSLOG=y +CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=16 # CONFIG_FEATURE_KMSG_SYSLOG is not set -- cgit v0.9.1