2009-09-09 11:16:55 -07:00
|
|
|
.SS "VLOG COMMANDS"
|
|
|
|
These commands manage \fB\*(PN\fR's logging settings.
|
|
|
|
.IP "\fBvlog/set\fR \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
|
2009-11-09 14:46:38 -08:00
|
|
|
\fB--list\fR action on \fBovs\-appctl\fR(8)), or the special name
|
2009-09-09 11:16:55 -07:00
|
|
|
\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
|
|
|
|
The log level for the \fBfile\fR facility has no effect unless
|
|
|
|
\fB\*(PN\fR was invoked with the \fB--log-file\fR option.
|
|
|
|
.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.
|
|
|
|
.RE
|
|
|
|
.IP "\fBvlog/set PATTERN:\fIfacility\fB:\fIpattern\fR"
|
|
|
|
Sets the log pattern for \fIfacility\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
|
|
|
|
\fB--log-file\fR option.
|