Config.in 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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 SYSLOGD
  7. bool "syslogd"
  8. default n
  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 FEATURE_ROTATE_LOGFILE
  21. bool "Rotate message files"
  22. default n
  23. depends on 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 FEATURE_REMOTE_LOG
  28. bool "Remote Log support"
  29. default n
  30. depends on 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 FEATURE_SYSLOGD_DUP
  41. bool "Support -D (drop dups) option"
  42. default n
  43. depends on SYSLOGD
  44. help
  45. Option -D instructs syslogd to drop consecutive messages
  46. which are totally the same.
  47. config FEATURE_SYSLOGD_READ_BUFFER_SIZE
  48. int "Read buffer size in bytes"
  49. default 256
  50. range 256 20000
  51. depends on 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 FEATURE_IPC_SYSLOG
  57. bool "Circular Buffer support"
  58. default n
  59. depends on 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 FEATURE_IPC_SYSLOG_BUFFER_SIZE
  70. int "Circular buffer size in Kbytes (minimum 4KB)"
  71. default 16
  72. range 4 2147483647
  73. depends on FEATURE_IPC_SYSLOG
  74. help
  75. This option sets the size of the circular buffer
  76. used to record system log messages.
  77. config LOGREAD
  78. bool "logread"
  79. default y
  80. depends on 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 FEATURE_LOGREAD_REDUCED_LOCKING
  87. bool "Double buffering"
  88. default n
  89. depends on 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 KLOGD
  97. bool "klogd"
  98. default n
  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 LOGGER
  106. bool "logger"
  107. default n
  108. select FEATURE_SYSLOG
  109. help
  110. The logger utility allows you to send arbitrary text
  111. messages to the system log (i.e. the 'syslogd' utility) so
  112. they can be logged. This is generally used to help locate
  113. problems that occur within programs and scripts.
  114. endmenu