logger: update usage text with new options
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
parent
c8fe229cfc
commit
1fc5c174f1
@ -229,9 +229,13 @@ static int usage(int code)
|
||||
"\n"
|
||||
"Write MESSAGE (or line-by-line stdin) to syslog, or file (with logrotate).\n"
|
||||
"\n"
|
||||
" -4 Prefer IPv4 address when sending remote, see -h\n"
|
||||
" -6 Prefer IPv6 address when sending remote, see -h\n"
|
||||
" -b Use RFC3164 (BSD) style format, default: RFC5424\n"
|
||||
" -c Log to console (LOG_CONS) on failure\n"
|
||||
" -d SD Log SD as RFC5424 style 'structured data' in message\n"
|
||||
" -f FILE Log file to write messages to, instead of syslog daemon\n"
|
||||
" -h HOST Send (UDP) message to this remote syslog server (IP or DNS name)\n"
|
||||
" -i Log process ID of the logger process with each line (LOG_PID)\n"
|
||||
#ifdef __linux__
|
||||
" -k Log to kernel /dev/kmsg if /dev/log doesn't exist yet\n"
|
||||
@ -239,6 +243,7 @@ static int usage(int code)
|
||||
" -m MSGID Log message using this RFC5424 style MSGID\n"
|
||||
" -n Open log file immediately (LOG_NDELAY)\n"
|
||||
" -p PRIO Log message priority (numeric or facility.severity pair)\n"
|
||||
" -P PORT Use PORT (or named UDP service) for remote server, default: syslog\n"
|
||||
" -r S[:R] Enable log file rotation, default: 200 kB \e[4ms\e[0mize, 5 \e[4mr\e[0motations\n"
|
||||
" -s Log to stderr as well as the system log\n"
|
||||
" -t TAG Log using the specified tag (defaults to user name)\n"
|
||||
|
Loading…
Reference in New Issue
Block a user