diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-12 21:33:06 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-12 21:33:06 +0000 |
commit | 5f1b149d541ebba7cab841cb647f113248f9fb8f (patch) | |
tree | e7f962fba89b6e201b4c857e32d85c9671b3db0d /include | |
parent | 1b9064d5355b5c26676e8447a1900116066e42e4 (diff) | |
download | busybox-5f1b149d541ebba7cab841cb647f113248f9fb8f.tar.gz |
syslogd,logread: get rid of head pointer, fix logread bug in the process
function old new delta
logread_main 450 462 +12
syslogd_main 1246 1252 +6
shbuf - 4 +4
buf 34 30 -4
packed_usage 22729 22724 -5
log_locally 957 767 -190
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 2/3 up/down: 22/-199) Total: -177 bytes
text data bss dec hex filename
773886 1116 11316 786318 bff8e busybox_old
773714 1116 11316 786146 bfee2 busybox_unstripped
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/usage.h b/include/usage.h index 9c14f4508..3f2916006 100644 --- a/include/usage.h +++ b/include/usage.h @@ -3327,17 +3327,17 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when "Note that this version of syslogd ignores /etc/syslog.conf." \ "\n\nOptions:" \ "\n -n Run as foreground process" \ - "\n -O FILE Use an alternate log file (default=/var/log/messages)" \ - "\n -l n Sets the local log level of messages to n" \ - "\n -S Make logging output smaller" \ + "\n -O FILE Log to given file (default=/var/log/messages)" \ + "\n -l n Set local log level" \ + "\n -S Smaller logging output" \ USE_FEATURE_ROTATE_LOGFILE( \ "\n -s SIZE Max size (KB) before rotate (default=200KB, 0=off)" \ "\n -b NUM Number of rotated logs to keep (default=1, max=99, 0=purge)") \ USE_FEATURE_REMOTE_LOG( \ "\n -R HOST[:PORT] Log to IP or hostname on PORT (default PORT=514/UDP)" \ - "\n -L Log locally and via network logging (default is network only)") \ + "\n -L Log locally and via network (default is network only if -R)") \ USE_FEATURE_IPC_SYSLOG( \ - "\n -C[size(KiB)] Log to a shared mem buffer (read the buffer using logread)") + "\n -C[size(KiB)] Log to shared mem buffer (read it using logread)") /* NB: -Csize shouldn't have space (because size is optional) */ /* "\n -m MIN Minutes between MARK lines (default=20, 0=off)" */ #define syslogd_example_usage \ |