-v
[spec]--verbose=
[spec]
Sets logging levels. Without any spec, sets the log level for
every module and destination to dbg
. Otherwise,
spec is a list of words separated by spaces or commas or
colons, up to one from each category below:
vlog/list
command
on ovs-appctl
(8), limits the log level change to the
specified module.
syslog
, console
, or file
, to
limit the log level change to only to the system log, to the console,
or to a file, respectively. (If --detach
is specified,
the daemon closes its standard file descriptors, so logging to the
console will have no effect.)
On Windows platform, syslog
is accepted as a word and is
only useful along with the --syslog-target
option (the
word has no effect otherwise).
off
, emer
, err
,
warn
, info
, or dbg
, to control
the log level. Messages of the given severity or higher will be
logged, and messages of lower severity will be filtered out.
off
filters out all messages. See
ovs-appctl
(8) for a definition of each log level.
Case is not significant within spec.
Regardless of the log levels set for file
, logging to a file
will not take place unless --log-file
is also specified (see
below).
For compatibility with older versions of OVS, any
is
accepted as a word but has no effect.
-v
--verbose
--verbose=dbg
.
-vPATTERN:
destination:
pattern--verbose=PATTERN:
destination:
patternovs-appctl
(8) for a description of the valid syntax
for pattern.
-vFACILITY:
facility--verbose=FACILITY:
facilitykern
, user
, mail
,
daemon
, auth
, syslog
,
lpr
, news
, uucp
, clock
,
ftp
, ntp
, audit
, alert
,
clock2
, local0
, local1
,
local2
, local3
, local4
,
local5
, local6
or local7
. If this
option is not specified, daemon
is used as the default for the
local system syslog and local0
is used while sending a message
to the target provided via the --syslog-target
option.
--log-file
[=
file]@LOGDIR@/program.log
.
--syslog-target=
host:
port--syslog-method=
methodSpecify method as how syslog messages should be sent to syslog daemon. The following forms are supported:
libc
, to use the libc syslog()
function.
This is the default behavior. Downside of using this options is that
libc adds fixed prefix to every message before it is actually sent to
the syslog daemon over /dev/log
UNIX domain socket.
unix:file
, to use a UNIX domain socket
directly. It is possible to specify arbitrary message format with this
option. However, rsyslogd 8.9
and older versions use hard
coded parser function anyway that limits UNIX domain socket use. If
you want to use arbitrary message format with older
rsyslogd
versions, then use UDP socket to localhost IP
address instead.
udp:ip:port
, to use a UDP socket.
With this method it is possible to use arbitrary message format also
with older rsyslogd
. When sending syslog messages over
UDP socket extra precaution needs to be taken into account, for
example, syslog daemon needs to be configured to listen on the
specified UDP port, accidental iptables rules could be interfering with
local syslog traffic and there are some security considerations that
apply to UDP sockets, but do not apply to UNIX domain sockets.