Config.in 4.5 KB

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