X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fvlog.man;h=c62e407111978397b60b0a39dc85d51782db1dae;hb=a5ed8fe32cb3c996837c61af2e358fa34dc9936f;hp=ca895b15a9995a6590701cf1777026edfca5b04e;hpb=a9b4a41ae4608eec6c700b3c50e450c07581d4a8;p=sliver-openvswitch.git diff --git a/lib/vlog.man b/lib/vlog.man index ca895b15a..c62e40711 100644 --- a/lib/vlog.man +++ b/lib/vlog.man @@ -1,44 +1,66 @@ -.TP -\fB-v\fImodule\fR[\fB:\fIfacility\fR[\fB:\fIlevel\fR]], \fB--verbose=\fImodule\fR[\fB:\fIfacility\fR[\fB:\fIlevel\fR]] +.de IQ +. br +. ns +. IP "\\$1" +.. +.IP "\fB\-v\fR[\fIspec\fR] +.IQ "\fB\-\-verbose=\fR[\fIspec\fR] . -Sets the logging level for \fImodule\fR in \fIfacility\fR to -\fIlevel\fR: +Sets logging levels. Without any \fIspec\fR, sets the log level for +every module and facility to \fBdbg\fR. Otherwise, \fIspec\fR is a +list of words separated by spaces or commas or colons, up to one from +each category below: . .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 -\fBANY\fR to set the logging levels for all modules. +A valid module name, as displayed by the \fBvlog/list\fR command on +\fBovs\-appctl\fR(8), limits the log level change to the specified +module. . .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. +\fBsyslog\fR, \fBconsole\fR, or \fBfile\fR, to limit the log level +change to only to the system log, to the console, or to a file, +respectively. .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 -below). +On Windows platform, \fBsyslog\fR is accepted as a word and is only +useful along with the \fB\-\-syslog\-target\fR option (the word has no +effect otherwise). . -.IP \(bu -\fIlevel\fR must be one of \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. +.IP \(bu +\fBoff\fR, \fBemer\fR, \fBerr\fR, \fBwarn\fR, \fBinfo\fR, or +\fBdbg\fR, to control the log level. Messages of the given severity +or higher will be logged, and messages of lower severity will be +filtered out. \fBoff\fR filters out all messages. See +\fBovs\-appctl\fR(8) for a definition of each log level. .RE . -.TP -\fB-v\fR, \fB--verbose\fR +.IP +Case is not significant within \fIspec\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 +below). +.IP +For compatibility with older versions of OVS, \fBany\fR is accepted as +a word but has no effect. +. +.IP "\fB\-v\fR" +.IQ "\fB\-\-verbose\fR" Sets the maximum logging verbosity level, equivalent to -\fB--verbose=ANY:ANY:dbg\fR. +\fB\-\-verbose=dbg\fR. . -.TP -\fB-vPATTERN:\fIfacility\fB:\fIpattern\fR, \fB--verbose=PATTERN:\fIfacility\fB:\fIpattern\fR +.IP "\fB\-vPATTERN:\fIfacility\fB:\fIpattern\fR" +.IQ "\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. +. +.IP "\fB\-\-syslog\-target=\fIhost\fB:\fIport\fR" +Send syslog messages to UDP \fIport\fR on \fIhost\fR, in addition to +the system syslog. The \fIhost\fR must be a numerical IP address, not +a hostname.