summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-12-19 11:32:14 +0000
committerEric Andersen <andersen@codepoet.org>2003-12-19 11:32:14 +0000
commitd4a5e255c479647d172c9d7d7f61049277b7c0b9 (patch)
tree7931e79c7b1cc3c4d8804c39da6dc6cf9fb667ab /include
parent3752d337b3b8e704f1fe27451d481eae85d64f48 (diff)
downloadbusybox-w32-d4a5e255c479647d172c9d7d7f61049277b7c0b9.tar.gz
busybox-w32-d4a5e255c479647d172c9d7d7f61049277b7c0b9.tar.bz2
busybox-w32-d4a5e255c479647d172c9d7d7f61049277b7c0b9.zip
Patch from Fillod Stephane:
You will find in the attached file "syslog.patch" a patch which adds config options to set at compile time the size of the circular buffer, and some documentation update.
Diffstat (limited to 'include')
-rw-r--r--include/usage.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/usage.h b/include/usage.h
index 6db0385fb..ea1b5d5fe 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1458,10 +1458,12 @@
1458 "root\n" 1458 "root\n"
1459 1459
1460#define logread_trivial_usage \ 1460#define logread_trivial_usage \
1461 "" 1461 "[OPTION]..."
1462 1462
1463#define logread_full_usage \ 1463#define logread_full_usage \
1464 "Shows the messages from syslogd (using circular buffer)." 1464 "Shows the messages from syslogd (using circular buffer).\n\n"
1465 "Options:\n" \
1466 "\t-f\t\toutput data as the log grows"
1465 1467
1466#define losetup_trivial_usage \ 1468#define losetup_trivial_usage \
1467 "[OPTION]... LOOPDEVICE FILE\n" \ 1469 "[OPTION]... LOOPDEVICE FILE\n" \
@@ -2280,7 +2282,7 @@
2280 "\n\t-R HOST[:PORT]\tLog to IP or hostname on PORT (default PORT=514/UDP)\n" \ 2282 "\n\t-R HOST[:PORT]\tLog to IP or hostname on PORT (default PORT=514/UDP)\n" \
2281 "\t-L\t\tLog locally and via network logging (default is network only)") \ 2283 "\t-L\t\tLog locally and via network logging (default is network only)") \
2282 USAGE_IPC_LOG( \ 2284 USAGE_IPC_LOG( \
2283 "\n\t-C\t\tLog to a circular buffer (read the buffer using logread)") 2285 "\n\t-C [size(KiB)]\tLog to a circular buffer (read the buffer using logread)")
2284#define syslogd_example_usage \ 2286#define syslogd_example_usage \
2285 "$ syslogd -R masterlog:514\n" \ 2287 "$ syslogd -R masterlog:514\n" \
2286 "$ syslogd -R 192.168.1.1:601\n" 2288 "$ syslogd -R 192.168.1.1:601\n"