X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fvlog.man;h=0fff86016907fdd1402fa3902815a8d552aec875;hb=c521d98befd333f25913b06eebc4947575cc5915;hp=8827931643f24c5628281ebd3ac4f4192a4b7f5c;hpb=58fda1dab104041fc693032475ec4662c1a52849;p=sliver-openvswitch.git diff --git a/lib/vlog.man b/lib/vlog.man index 882793164..0fff86016 100644 --- a/lib/vlog.man +++ b/lib/vlog.man @@ -1,44 +1,45 @@ .TP -\fB-v\fImodule\fR[\fB:\fIfacility\fR[\fB:\fIlevel\fR]], \fB--verbose=\fImodule\fR[\fB:\fIfacility\fR[\fB:\fIlevel\fR]] - +\fB\-v\fImodule\fR[\fB:\fIfacility\fR[\fB:\fIlevel\fR]], \fB\-\-verbose=\fImodule\fR[\fB:\fIfacility\fR[\fB:\fIlevel\fR]] +. Sets the logging level for \fImodule\fR in \fIfacility\fR to \fIlevel\fR: - +. .RS .IP \(bu \fImodule\fR may be any valid module name (as displayed by the -\fB--list\fR action on \fBovs\-appctl\fR(8)), or the special name +\fB\-\-list\fR action on \fBovs\-appctl\fR(8)), or the special name \fBANY\fR to set the logging levels for all modules. - +. .IP \(bu \fIfacility\fR may be \fBsyslog\fR, \fBconsole\fR, or \fBfile\fR to set the levels for logging to the system log, the console, or a file respectively, or \fBANY\fR to set the logging levels for both facilities. If it is omitted, \fIfacility\fR defaults to \fBANY\fR. - +.IP Regardless of the log levels set for \fBfile\fR, logging to a file -will not take place unless \fB--log-file\fR is also specified (see +will not take place unless \fB\-\-log\-file\fR is also specified (see below). - +. .IP \(bu -\fIlevel\fR must be one of \fBemer\fR, \fBerr\fR, \fBwarn\fR, +\fIlevel\fR must be one of \fBoff\fR, \fBemer\fR, \fBerr\fR, \fBwarn\fR, \fBinfo\fR, or \fBdbg\fR, designating the minimum severity of a message for it to be -logged. If it is omitted, \fIlevel\fR defaults to \fBdbg\fR. +logged. If it is omitted, \fIlevel\fR defaults to \fBdbg\fR. See +\fBovs\-appctl\fR(8) for a definition of each log level. .RE - +. .TP -\fB-v\fR, \fB--verbose\fR +\fB\-v\fR, \fB\-\-verbose\fR Sets the maximum logging verbosity level, equivalent to -\fB--verbose=ANY:ANY:dbg\fR. - +\fB\-\-verbose=ANY:ANY:dbg\fR. +. .TP -\fB-vPATTERN:\fIfacility\fB:\fIpattern\fR, \fB--verbose=PATTERN:\fIfacility\fB:\fIpattern\fR +\fB\-vPATTERN:\fIfacility\fB:\fIpattern\fR, \fB\-\-verbose=PATTERN:\fIfacility\fB:\fIpattern\fR Sets the log pattern for \fIfacility\fR to \fIpattern\fR. Refer to \fBovs\-appctl\fR(8) for a description of the valid syntax for \fIpattern\fR. - +. .TP -\fB--log-file\fR[\fB=\fIfile\fR] +\fB\-\-log\-file\fR[\fB=\fIfile\fR] Enables logging to a file. If \fIfile\fR is specified, then it is used as the exact name for the log file. The default log file name used if \fIfile\fR is omitted is \fB@LOGDIR@/\*(PN.log\fR.