Config.in 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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 docs/Kconfig-language.txt.
  5. #
  6. menu "System Logging Utilities"
  7. config BUSYBOX_KLOGD
  8. bool "klogd (5.7 kb)"
  9. default y
  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_KLOGD && BUSYBOX_FEATURE_KMSG_SYSLOG
  18. config BUSYBOX_FEATURE_KLOGD_KLOGCTL
  19. bool "Use the klogctl() interface"
  20. default y
  21. depends on BUSYBOX_KLOGD
  22. select BUSYBOX_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_LOGGER
  33. bool "logger (6.3 kb)"
  34. default y
  35. select BUSYBOX_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_LOGREAD
  42. bool "logread (4.8 kb)"
  43. default y
  44. help
  45. If you enabled Circular Buffer support, you almost
  46. certainly want to enable this feature as well. This
  47. utility will allow you to read the messages that are
  48. stored in the syslogd circular buffer.
  49. config BUSYBOX_FEATURE_LOGREAD_REDUCED_LOCKING
  50. bool "Double buffering"
  51. default y
  52. depends on BUSYBOX_LOGREAD
  53. help
  54. 'logread' output to slow serial terminals can have
  55. side effects on syslog because of the semaphore.
  56. This option make logread to double buffer copy
  57. from circular buffer, minimizing semaphore
  58. contention at some minor memory expense.
  59. config BUSYBOX_SYSLOGD
  60. bool "syslogd (13 kb)"
  61. default y
  62. help
  63. The syslogd utility is used to record logs of all the
  64. significant events that occur on a system. Every
  65. message that is logged records the date and time of the
  66. event, and will generally also record the name of the
  67. application that generated the message. When used in
  68. conjunction with klogd, messages from the Linux kernel
  69. can also be recorded. This is terribly useful,
  70. especially for finding what happened when something goes
  71. wrong. And something almost always will go wrong if
  72. you wait long enough....
  73. config BUSYBOX_FEATURE_ROTATE_LOGFILE
  74. bool "Rotate message files"
  75. default y
  76. depends on BUSYBOX_SYSLOGD
  77. help
  78. This enables syslogd to rotate the message files
  79. on his own. No need to use an external rotate script.
  80. config BUSYBOX_FEATURE_REMOTE_LOG
  81. bool "Remote Log support"
  82. default y
  83. depends on BUSYBOX_SYSLOGD
  84. help
  85. When you enable this feature, the syslogd utility can
  86. be used to send system log messages to another system
  87. connected via a network. This allows the remote
  88. machine to log all the system messages, which can be
  89. terribly useful for reducing the number of serial
  90. cables you use. It can also be a very good security
  91. measure to prevent system logs from being tampered with
  92. by an intruder.
  93. config BUSYBOX_FEATURE_SYSLOGD_DUP
  94. bool "Support -D (drop dups) option"
  95. default y
  96. depends on BUSYBOX_SYSLOGD
  97. help
  98. Option -D instructs syslogd to drop consecutive messages
  99. which are totally the same.
  100. config BUSYBOX_FEATURE_SYSLOGD_CFG
  101. bool "Support syslog.conf"
  102. default y
  103. depends on BUSYBOX_SYSLOGD
  104. help
  105. Supports restricted syslogd config. See docs/syslog.conf.txt
  106. config BUSYBOX_FEATURE_SYSLOGD_PRECISE_TIMESTAMPS
  107. bool "Include milliseconds in timestamps"
  108. default n
  109. depends on BUSYBOX_SYSLOGD
  110. help
  111. Includes milliseconds (HH:MM:SS.mmm) in timestamp when
  112. timestamps are added.
  113. config BUSYBOX_FEATURE_SYSLOGD_READ_BUFFER_SIZE
  114. int "Read buffer size in bytes"
  115. default 256
  116. range 256 20000
  117. depends on BUSYBOX_SYSLOGD
  118. help
  119. This option sets the size of the syslog read buffer.
  120. Actual memory usage increases around five times the
  121. change done here.
  122. config BUSYBOX_FEATURE_IPC_SYSLOG
  123. bool "Circular Buffer support"
  124. default y
  125. depends on BUSYBOX_SYSLOGD
  126. help
  127. When you enable this feature, the syslogd utility will
  128. use a circular buffer to record system log messages.
  129. When the buffer is filled it will continue to overwrite
  130. the oldest messages. This can be very useful for
  131. systems with little or no permanent storage, since
  132. otherwise system logs can eventually fill up your
  133. entire filesystem, which may cause your system to
  134. break badly.
  135. config BUSYBOX_FEATURE_IPC_SYSLOG_BUFFER_SIZE
  136. int "Circular buffer size in Kbytes (minimum 4KB)"
  137. default 16
  138. range 4 2147483647
  139. depends on BUSYBOX_FEATURE_IPC_SYSLOG
  140. help
  141. This option sets the size of the circular buffer
  142. used to record system log messages.
  143. config BUSYBOX_FEATURE_KMSG_SYSLOG
  144. bool "Linux kernel printk buffer support"
  145. default y
  146. depends on BUSYBOX_SYSLOGD
  147. select BUSYBOX_PLATFORM_LINUX
  148. help
  149. When you enable this feature, the syslogd utility will
  150. write system log message to the Linux kernel's printk buffer.
  151. This can be used as a smaller alternative to the syslogd IPC
  152. support, as klogd and logread aren't needed.
  153. NOTICE: Syslog facilities in log entries needs kernel 3.5+.
  154. endmenu