Config.in 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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_IPC_SYSLOG
  48. bool "Circular Buffer support"
  49. default y
  50. depends on BUSYBOX_SYSLOGD
  51. help
  52. When you enable this feature, the syslogd utility will
  53. use a circular buffer to record system log messages.
  54. When the buffer is filled it will continue to overwrite
  55. the oldest messages. This can be very useful for
  56. systems with little or no permanent storage, since
  57. otherwise system logs can eventually fill up your
  58. entire filesystem, which may cause your system to
  59. break badly.
  60. config BUSYBOX_FEATURE_IPC_SYSLOG_BUFFER_SIZE
  61. int "Circular buffer size in Kbytes (minimum 4KB)"
  62. default 16
  63. range 4 2147483647
  64. depends on BUSYBOX_FEATURE_IPC_SYSLOG
  65. help
  66. This option sets the size of the circular buffer
  67. used to record system log messages.
  68. config BUSYBOX_LOGREAD
  69. bool "logread"
  70. default y
  71. depends on BUSYBOX_FEATURE_IPC_SYSLOG
  72. help
  73. If you enabled Circular Buffer support, you almost
  74. certainly want to enable this feature as well. This
  75. utility will allow you to read the messages that are
  76. stored in the syslogd circular buffer.
  77. config BUSYBOX_FEATURE_LOGREAD_REDUCED_LOCKING
  78. bool "Double buffering"
  79. default n
  80. depends on BUSYBOX_LOGREAD
  81. help
  82. 'logread' ouput to slow serial terminals can have
  83. side effects on syslog because of the semaphore.
  84. This option make logread to double buffer copy
  85. from circular buffer, minimizing semaphore
  86. contention at some minor memory expense.
  87. config BUSYBOX_KLOGD
  88. bool "klogd"
  89. default y
  90. help
  91. klogd is a utility which intercepts and logs all
  92. messages from the Linux kernel and sends the messages
  93. out to the 'syslogd' utility so they can be logged. If
  94. you wish to record the messages produced by the kernel,
  95. you should enable this option.
  96. config BUSYBOX_LOGGER
  97. bool "logger"
  98. default y
  99. select BUSYBOX_FEATURE_SYSLOG
  100. help
  101. The logger utility allows you to send arbitrary text
  102. messages to the system log (i.e. the 'syslogd' utility) so
  103. they can be logged. This is generally used to help locate
  104. problems that occur within programs and scripts.
  105. endmenu