]> git.proxmox.com Git - mirror_ovs.git/blame - lib/vlog.man
vlog: Add option to send vlog syslog output to arbitrary UDP destination.
[mirror_ovs.git] / lib / vlog.man
CommitLineData
91005f03
BP
1.de IQ
2. br
3. ns
4. IP "\\$1"
5..
2a3e30b2
BP
6.IP "\fB\-v\fR[\fIspec\fR]
7.IQ "\fB\-\-verbose=\fR[\fIspec\fR]
a9b4a41a 8.
2a3e30b2
BP
9Sets logging levels. Without any \fIspec\fR, sets the log level for
10every module and facility to \fBdbg\fR. Otherwise, \fIspec\fR is a
11list of words separated by spaces or commas or colons, up to one from
12each category below:
a9b4a41a 13.
064af421
BP
14.RS
15.IP \(bu
2a3e30b2
BP
16A valid module name, as displayed by the \fBvlog/list\fR command on
17\fBovs\-appctl\fR(8), limits the log level change to the specified
18module.
a9b4a41a 19.
064af421 20.IP \(bu
2a3e30b2
BP
21\fBsyslog\fR, \fBconsole\fR, or \fBfile\fR, to limit the log level
22change to only to the system log, to the console, or to a file,
23respectively.
a9b4a41a 24.
064af421 25.IP \(bu
2a3e30b2
BP
26\fBoff\fR, \fBemer\fR, \fBerr\fR, \fBwarn\fR, \fBinfo\fR, or
27\fBdbg\fR, to control the log level. Messages of the given severity
28or higher will be logged, and messages of lower severity will be
29filtered out. \fBoff\fR filters out all messages. See
7d110e96 30\fBovs\-appctl\fR(8) for a definition of each log level.
064af421 31.RE
a9b4a41a 32.
2a3e30b2
BP
33.IP
34Case is not significant within \fIspec\fR.
35.IP
36Regardless of the log levels set for \fBfile\fR, logging to a file
37will not take place unless \fB\-\-log\-file\fR is also specified (see
38below).
39.IP
40For compatibility with older versions of OVS, \fBany\fR is accepted as
41a word but has no effect.
42.
91005f03
BP
43.IP "\fB\-v\fR"
44.IQ "\fB\-\-verbose\fR"
064af421 45Sets the maximum logging verbosity level, equivalent to
ea523221 46\fB\-\-verbose=dbg\fR.
a9b4a41a 47.
f26ddb5b
BP
48.\" Python vlog doesn't implement -vPATTERN so only document it if
49.\" \*(PY is empty:
50.ie dPY
51.el \{
91005f03
BP
52.IP "\fB\-vPATTERN:\fIfacility\fB:\fIpattern\fR"
53.IQ "\fB\-\-verbose=PATTERN:\fIfacility\fB:\fIpattern\fR"
064af421 54Sets the log pattern for \fIfacility\fR to \fIpattern\fR. Refer to
3fbe1d30 55\fBovs\-appctl\fR(8) for a description of the valid syntax for \fIpattern\fR.
f26ddb5b 56\}
a9b4a41a 57.
064af421 58.TP
4e312e69 59\fB\-\-log\-file\fR[\fB=\fIfile\fR]
064af421
BP
60Enables logging to a file. If \fIfile\fR is specified, then it is
61used as the exact name for the log file. The default log file name
62used if \fIfile\fR is omitted is \fB@LOGDIR@/\*(PN.log\fR.
afc9f547
HM
63.
64.IP "\fB\-\-syslog\-target=\fIhost\fB:\fIport\fR"
65Send syslog messages to UDP \fIport\fR on \fIhost\fR, in addition to
66the system syslog. The \fIhost\fR must be a numerical IP address, not
67a hostname.