Config.in 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. # DO NOT EDIT. This file is generated from Config.src
  2. #
  3. # For a description of the syntax of this configuration file,
  4. # see scripts/kbuild/config-language.txt.
  5. #
  6. menu "System Logging Utilities"
  7. config BUSYBOX_CONFIG_SYSLOGD
  8. bool "syslogd"
  9. default BUSYBOX_DEFAULT_SYSLOGD
  10. help
  11. The syslogd utility is used to record logs of all the
  12. significant events that occur on a system. Every
  13. message that is logged records the date and time of the
  14. event, and will generally also record the name of the
  15. application that generated the message. When used in
  16. conjunction with klogd, messages from the Linux kernel
  17. can also be recorded. This is terribly useful,
  18. especially for finding what happened when something goes
  19. wrong. And something almost always will go wrong if
  20. you wait long enough....
  21. config BUSYBOX_CONFIG_FEATURE_ROTATE_LOGFILE
  22. bool "Rotate message files"
  23. default BUSYBOX_DEFAULT_FEATURE_ROTATE_LOGFILE
  24. depends on BUSYBOX_CONFIG_SYSLOGD
  25. help
  26. This enables syslogd to rotate the message files
  27. on his own. No need to use an external rotatescript.
  28. config BUSYBOX_CONFIG_FEATURE_REMOTE_LOG
  29. bool "Remote Log support"
  30. default BUSYBOX_DEFAULT_FEATURE_REMOTE_LOG
  31. depends on BUSYBOX_CONFIG_SYSLOGD
  32. help
  33. When you enable this feature, the syslogd utility can
  34. be used to send system log messages to another system
  35. connected via a network. This allows the remote
  36. machine to log all the system messages, which can be
  37. terribly useful for reducing the number of serial
  38. cables you use. It can also be a very good security
  39. measure to prevent system logs from being tampered with
  40. by an intruder.
  41. config BUSYBOX_CONFIG_FEATURE_SYSLOGD_DUP
  42. bool "Support -D (drop dups) option"
  43. default BUSYBOX_DEFAULT_FEATURE_SYSLOGD_DUP
  44. depends on BUSYBOX_CONFIG_SYSLOGD
  45. help
  46. Option -D instructs syslogd to drop consecutive messages
  47. which are totally the same.
  48. config BUSYBOX_CONFIG_FEATURE_SYSLOGD_CFG
  49. bool "Support syslog.conf"
  50. default BUSYBOX_DEFAULT_FEATURE_SYSLOGD_CFG
  51. depends on BUSYBOX_CONFIG_SYSLOGD
  52. help
  53. Supports restricted syslogd config. See docs/syslog.conf.txt
  54. config BUSYBOX_CONFIG_FEATURE_SYSLOGD_READ_BUFFER_SIZE
  55. int "Read buffer size in bytes"
  56. default BUSYBOX_DEFAULT_FEATURE_SYSLOGD_READ_BUFFER_SIZE
  57. range 256 20000
  58. depends on BUSYBOX_CONFIG_SYSLOGD
  59. help
  60. This option sets the size of the syslog read buffer.
  61. Actual memory usage increases around five times the
  62. change done here.
  63. config BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG
  64. bool "Circular Buffer support"
  65. default BUSYBOX_DEFAULT_FEATURE_IPC_SYSLOG
  66. depends on BUSYBOX_CONFIG_SYSLOGD
  67. help
  68. When you enable this feature, the syslogd utility will
  69. use a circular buffer to record system log messages.
  70. When the buffer is filled it will continue to overwrite
  71. the oldest messages. This can be very useful for
  72. systems with little or no permanent storage, since
  73. otherwise system logs can eventually fill up your
  74. entire filesystem, which may cause your system to
  75. break badly.
  76. config BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE
  77. int "Circular buffer size in Kbytes (minimum 4KB)"
  78. default BUSYBOX_DEFAULT_FEATURE_IPC_SYSLOG_BUFFER_SIZE
  79. range 4 2147483647
  80. depends on BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG
  81. help
  82. This option sets the size of the circular buffer
  83. used to record system log messages.
  84. config BUSYBOX_CONFIG_LOGREAD
  85. bool "logread"
  86. default BUSYBOX_DEFAULT_LOGREAD
  87. depends on BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG
  88. help
  89. If you enabled Circular Buffer support, you almost
  90. certainly want to enable this feature as well. This
  91. utility will allow you to read the messages that are
  92. stored in the syslogd circular buffer.
  93. config BUSYBOX_CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING
  94. bool "Double buffering"
  95. default BUSYBOX_DEFAULT_FEATURE_LOGREAD_REDUCED_LOCKING
  96. depends on BUSYBOX_CONFIG_LOGREAD
  97. help
  98. 'logread' ouput to slow serial terminals can have
  99. side effects on syslog because of the semaphore.
  100. This option make logread to double buffer copy
  101. from circular buffer, minimizing semaphore
  102. contention at some minor memory expense.
  103. config BUSYBOX_CONFIG_FEATURE_KMSG_SYSLOG
  104. bool "Linux kernel printk buffer support"
  105. default BUSYBOX_DEFAULT_FEATURE_KMSG_SYSLOG
  106. depends on BUSYBOX_CONFIG_SYSLOGD
  107. select BUSYBOX_CONFIG_PLATFORM_LINUX
  108. help
  109. When you enable this feature, the syslogd utility will
  110. write system log message to the Linux kernel's printk buffer.
  111. This can be used as a smaller alternative to the syslogd IPC
  112. support, as klogd and logread aren't needed.
  113. NOTICE: Syslog facilities in log entries needs kernel 3.5+.
  114. config BUSYBOX_CONFIG_KLOGD
  115. bool "klogd"
  116. default BUSYBOX_DEFAULT_KLOGD
  117. help
  118. klogd is a utility which intercepts and logs all
  119. messages from the Linux kernel and sends the messages
  120. out to the 'syslogd' utility so they can be logged. If
  121. you wish to record the messages produced by the kernel,
  122. you should enable this option.
  123. comment "klogd should not be used together with syslog to kernel printk buffer"
  124. depends on BUSYBOX_CONFIG_KLOGD && BUSYBOX_CONFIG_FEATURE_KMSG_SYSLOG
  125. config BUSYBOX_CONFIG_FEATURE_KLOGD_KLOGCTL
  126. bool "Use the klogctl() interface"
  127. default BUSYBOX_DEFAULT_FEATURE_KLOGD_KLOGCTL
  128. depends on BUSYBOX_CONFIG_KLOGD
  129. select BUSYBOX_CONFIG_PLATFORM_LINUX
  130. help
  131. The klogd applet supports two interfaces for reading
  132. kernel messages. Linux provides the klogctl() interface
  133. which allows reading messages from the kernel ring buffer
  134. independently from the file system.
  135. If you answer 'N' here, klogd will use the more portable
  136. approach of reading them from /proc or a device node.
  137. However, this method requires the file to be available.
  138. If in doubt, say 'Y'.
  139. config BUSYBOX_CONFIG_LOGGER
  140. bool "logger"
  141. default BUSYBOX_DEFAULT_LOGGER
  142. select BUSYBOX_CONFIG_FEATURE_SYSLOG
  143. help
  144. The logger utility allows you to send arbitrary text
  145. messages to the system log (i.e. the 'syslogd' utility) so
  146. they can be logged. This is generally used to help locate
  147. problems that occur within programs and scripts.
  148. endmenu