2012-12-08 12:23:08 -08:00
|
|
|
.de IQ
|
|
|
|
. br
|
|
|
|
. ns
|
|
|
|
. IP "\\$1"
|
|
|
|
..
|
2009-09-09 11:16:55 -07:00
|
|
|
.SS "VLOG COMMANDS"
|
|
|
|
These commands manage \fB\*(PN\fR's logging settings.
|
2012-02-08 15:29:15 -08:00
|
|
|
.IP "\fBvlog/set\fR [\fIspec\fR]"
|
|
|
|
Sets logging levels. Without any \fIspec\fR, sets the log level for
|
2015-01-06 13:05:00 -08:00
|
|
|
every module and destination to \fBdbg\fR. Otherwise, \fIspec\fR is a
|
2012-02-08 15:29:15 -08:00
|
|
|
list of words separated by spaces or commas or colons, up to one from
|
|
|
|
each category below:
|
2009-09-09 11:16:55 -07:00
|
|
|
.
|
|
|
|
.RS
|
|
|
|
.IP \(bu
|
2012-02-08 15:29:15 -08:00
|
|
|
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.
|
2009-09-09 11:16:55 -07:00
|
|
|
.
|
|
|
|
.IP \(bu
|
2012-02-08 15:29:15 -08:00
|
|
|
\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.
|
2014-01-06 13:54:21 -08:00
|
|
|
.IP
|
|
|
|
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).
|
2012-02-08 15:29:15 -08:00
|
|
|
.
|
2009-09-09 11:16:55 -07:00
|
|
|
.IP \(bu
|
2012-02-08 15:29:15 -08:00
|
|
|
\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
|
|
|
|
.
|
|
|
|
.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\*(PN\fR was invoked with the
|
|
|
|
\fB\-\-log\-file\fR option.
|
|
|
|
.IP
|
|
|
|
For compatibility with older versions of OVS, \fBany\fR is accepted as
|
|
|
|
a word but has no effect.
|
2009-09-09 11:16:55 -07:00
|
|
|
.RE
|
2015-01-06 13:05:00 -08:00
|
|
|
.IP "\fBvlog/set PATTERN:\fIdestination\fB:\fIpattern\fR"
|
|
|
|
Sets the log pattern for \fIdestination\fR to \fIpattern\fR. Refer to
|
2009-11-09 14:46:38 -08:00
|
|
|
\fBovs\-appctl\fR(8) for a description of the valid syntax for \fIpattern\fR.
|
2009-09-09 11:16:55 -07:00
|
|
|
.
|
|
|
|
.IP "\fBvlog/list\fR"
|
|
|
|
Lists the supported logging modules and their current levels.
|
|
|
|
.
|
|
|
|
.IP "\fBvlog/reopen\fR"
|
|
|
|
Causes \fB\*(PN\fR to close and reopen its log file. (This is useful
|
|
|
|
after rotating log files, to cause a new log file to be used.)
|
|
|
|
.IP
|
|
|
|
This has no effect unless \fB\*(PN\fR was invoked with the
|
2010-06-29 14:29:40 -07:00
|
|
|
\fB\-\-log\-file\fR option.
|
2012-12-08 12:23:08 -08:00
|
|
|
.
|
|
|
|
.IP "\fBvlog/disable\-rate\-limit \fR[\fImodule\fR]..."
|
|
|
|
.IQ "\fBvlog/enable\-rate\-limit \fR[\fImodule\fR]..."
|
|
|
|
By default, \fB\*(PN\fR limits the rate at which certain messages can
|
|
|
|
be logged. When a message would appear more frequently than the
|
|
|
|
limit, it is suppressed. This saves disk space, makes logs easier to
|
|
|
|
read, and speeds up execution, but occasionally troubleshooting
|
|
|
|
requires more detail. Therefore, \fBvlog/disable\-rate\-limit\fR
|
|
|
|
allows rate limits to be disabled at the level of an individual log
|
|
|
|
module. Specify one or more module names, as displayed by the
|
|
|
|
\fBvlog/list\fR command. Specifying either no module names at all or
|
|
|
|
the keyword \fBany\fR disables rate limits for every log module.
|
|
|
|
.
|
|
|
|
.IP
|
|
|
|
The \fBvlog/enable\-rate\-limit\fR command, whose syntax is the same
|
|
|
|
as \fBvlog/disable\-rate\-limit\fR, can be used to re-enable a rate
|
|
|
|
limit that was previously disabled.
|