1
0

Config.in 6.0 KB

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