diff options
Diffstat (limited to 'sysklogd/Config.src')
-rw-r--r-- | sysklogd/Config.src | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sysklogd/Config.src b/sysklogd/Config.src index b7a494eff..fcf993054 100644 --- a/sysklogd/Config.src +++ b/sysklogd/Config.src | |||
@@ -113,6 +113,19 @@ config FEATURE_LOGREAD_REDUCED_LOCKING | |||
113 | from circular buffer, minimizing semaphore | 113 | from circular buffer, minimizing semaphore |
114 | contention at some minor memory expense. | 114 | contention at some minor memory expense. |
115 | 115 | ||
116 | config FEATURE_KMSG_SYSLOG | ||
117 | bool "Linux kernel printk buffer support" | ||
118 | default y | ||
119 | depends on SYSLOGD | ||
120 | select PLATFORM_LINUX | ||
121 | help | ||
122 | When you enable this feature, the syslogd utility will | ||
123 | write system log message to the Linux kernel's printk buffer. | ||
124 | This can be used as a smaller alternative to the syslogd IPC | ||
125 | support, as klogd and logread aren't needed. | ||
126 | |||
127 | NOTICE: Syslog facilities in log entries needs kernel 3.5+. | ||
128 | |||
116 | config KLOGD | 129 | config KLOGD |
117 | bool "klogd" | 130 | bool "klogd" |
118 | default y | 131 | default y |
@@ -123,6 +136,9 @@ config KLOGD | |||
123 | you wish to record the messages produced by the kernel, | 136 | you wish to record the messages produced by the kernel, |
124 | you should enable this option. | 137 | you should enable this option. |
125 | 138 | ||
139 | comment "klogd should not be used together with syslog to kernel printk buffer" | ||
140 | depends on KLOGD && FEATURE_KMSG_SYSLOG | ||
141 | |||
126 | config FEATURE_KLOGD_KLOGCTL | 142 | config FEATURE_KLOGD_KLOGCTL |
127 | bool "Use the klogctl() interface" | 143 | bool "Use the klogctl() interface" |
128 | default y | 144 | default y |