1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

man: document possible lvmetad -l values

In the man page and the lvmetad help output.
This commit is contained in:
David Teigland 2015-10-21 13:36:57 -05:00
parent a0d819172f
commit 73e679f33f
3 changed files with 8 additions and 11 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.133 - Version 2.02.133 -
====================================== ======================================
Allow all log levels to be used with the lvmetad -l option.
Add optional shutdown when idle support for lvmetad. Add optional shutdown when idle support for lvmetad.
Fix missing in-sync progress info while lvconvert used with lvmpolld. Fix missing in-sync progress info while lvconvert used with lvmpolld.
Add report/compact_output_cols to lvm.conf to define report cols to compact. Add report/compact_output_cols to lvm.conf to define report cols to compact.

View File

@ -1637,11 +1637,11 @@ static int process_timeout_arg(const char *str, unsigned *max_timeouts)
static void usage(const char *prog, FILE *file) static void usage(const char *prog, FILE *file)
{ {
fprintf(file, "Usage:\n" fprintf(file, "Usage:\n"
"%s [-V] [-h] [-f] [-l {all|wire|debug}] [-s path] [-t secs]\n\n" "%s [-V] [-h] [-f] [-l level[,level ...]] [-s path] [-t secs]\n\n"
" -V Show version of lvmetad\n" " -V Show version of lvmetad\n"
" -h Show this help information\n" " -h Show this help information\n"
" -f Don't fork, run in the foreground\n" " -f Don't fork, run in the foreground\n"
" -l Logging message level (-l {all|wire|debug})\n" " -l Logging message levels (all,fatal,error,warn,info,wire,debug)\n"
" -p Set path to the pidfile\n" " -p Set path to the pidfile\n"
" -s Set path to the socket to listen on\n" " -s Set path to the socket to listen on\n"
" -t Time to wait in seconds before shutdown on idle (missing or 0 = inifinite)\n\n", prog); " -t Time to wait in seconds before shutdown on idle (missing or 0 = inifinite)\n\n", prog);

View File

@ -5,7 +5,7 @@ lvmetad \(em LVM metadata cache daemon
.SH SYNOPSIS .SH SYNOPSIS
.B lvmetad .B lvmetad
.RB [ \-l .RB [ \-l
.RI { all | wire | debug }] .IR level [,level...]]
.RB [ \-p .RB [ \-p
.IR pidfile_path ] .IR pidfile_path ]
.RB [ \-s .RB [ \-s
@ -77,15 +77,11 @@ Don't fork, but run in the foreground.
.BR \-h ", " \-? .BR \-h ", " \-?
Show help information. Show help information.
.TP .TP
.IR \fB\-l " {" all | wire | debug } .B \-l \fIlevels
Select the type of log messages to generate. Specify the levels of log messages to generate as a comma separated list.
Messages are logged by syslog. Messages are logged by syslog.
Additionally, when \-f is given they are also sent to standard error. Additionally, when \-f is given they are also sent to standard error.
Since release 2.02.98, there are two classes of messages: wire and debug. Possible levels are: all, fatal, error, warn, info, wire, debug.
Selecting 'all' supplies both and is equivalent to a comma-separated list
\-l wire,debug.
Prior to release 2.02.98, repeating \-d from 1 to 3 times, viz. \-d, \-dd, \-ddd,
increased the detail of messages.
.TP .TP
.B \-p \fIpidfile_path .B \-p \fIpidfile_path
Path to the pidfile. This overrides both the built-in default Path to the pidfile. This overrides both the built-in default