diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-04 21:22:11 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-04 21:22:11 +0000 |
commit | a0e2a0a19272268fc042f159e74f1573a10202cd (patch) | |
tree | d274d7a270bdb5347bbb462c65473f2997f6fb40 /include | |
parent | b8934971516d69086cf693a1a51acf649930ee64 (diff) | |
download | busybox-w32-a0e2a0a19272268fc042f159e74f1573a10202cd.tar.gz busybox-w32-a0e2a0a19272268fc042f159e74f1573a10202cd.tar.bz2 busybox-w32-a0e2a0a19272268fc042f159e74f1573a10202cd.zip |
syslogd: start using bb_common_bufsiz1 instead of stack/malloc
logger: optimize, also use bb_common_bufsiz1 (~40 bytes)
tested to eat arbitrarily-sized input at high speed - ok
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/usage.h b/include/usage.h index 6202c4afd..ae03d5431 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -3009,19 +3009,19 @@ | |||
3009 | "System logging utility.\n" \ | 3009 | "System logging utility.\n" \ |
3010 | "Note that this version of syslogd ignores /etc/syslog.conf." \ | 3010 | "Note that this version of syslogd ignores /etc/syslog.conf." \ |
3011 | "\n\nOptions:" \ | 3011 | "\n\nOptions:" \ |
3012 | "\n -m MIN Minutes between MARK lines (default=20, 0=off)" \ | 3012 | "\n -m MIN Minutes between MARK lines (default=20, 0=off)" \ |
3013 | "\n -n Run as a foreground process" \ | 3013 | "\n -n Run as a foreground process" \ |
3014 | "\n -O FILE Use an alternate log file (default=/var/log/messages)" \ | 3014 | "\n -O FILE Use an alternate log file (default=/var/log/messages)" \ |
3015 | "\n -l n Sets the local log level of messages to n" \ | 3015 | "\n -l n Sets the local log level of messages to n" \ |
3016 | "\n -S Make logging output smaller" \ | 3016 | "\n -S Make logging output smaller" \ |
3017 | USE_FEATURE_ROTATE_LOGFILE( \ | 3017 | USE_FEATURE_ROTATE_LOGFILE( \ |
3018 | "\n -s SIZE Max size (KB) before rotate (default=200KB, 0=off)" \ | 3018 | "\n -s SIZE Max size (KB) before rotate (default=200KB, 0=off)" \ |
3019 | "\n -b NUM Number of rotated logs to keep (default=1, max=99, 0=purge)") \ | 3019 | "\n -b NUM Number of rotated logs to keep (default=1, max=99, 0=purge)") \ |
3020 | USE_FEATURE_REMOTE_LOG( \ | 3020 | USE_FEATURE_REMOTE_LOG( \ |
3021 | "\n -R HOST[:PORT] Log to IP or hostname on PORT (default PORT=514/UDP)" \ | 3021 | "\n -R HOST[:PORT] Log to IP or hostname on PORT (default PORT=514/UDP)" \ |
3022 | "\n -L Log locally and via network logging (default is network only)") \ | 3022 | "\n -L Log locally and via network logging (default is network only)") \ |
3023 | USE_FEATURE_IPC_SYSLOG( \ | 3023 | USE_FEATURE_IPC_SYSLOG( \ |
3024 | "\n -C[size(KiB)] Log to a circular buffer (read the buffer using logread)") | 3024 | "\n -C[size(KiB)] Log to a shared mem buffer (read the buffer using logread)") |
3025 | /* NB: -Csize shouldn't have space (because size is optional) */ | 3025 | /* NB: -Csize shouldn't have space (because size is optional) */ |
3026 | #define syslogd_example_usage \ | 3026 | #define syslogd_example_usage \ |
3027 | "$ syslogd -R masterlog:514\n" \ | 3027 | "$ syslogd -R masterlog:514\n" \ |