2013-08-08 15:06:31 +00:00
|
|
|
# Master virtlockd daemon configuration file
|
|
|
|
#
|
|
|
|
|
|
|
|
#################################################################
|
|
|
|
#
|
|
|
|
# Logging controls
|
|
|
|
#
|
|
|
|
|
|
|
|
# Logging level: 4 errors, 3 warnings, 2 information, 1 debug
|
|
|
|
# basically 1 will log everything possible
|
2018-04-20 16:52:04 +00:00
|
|
|
#
|
|
|
|
# WARNING: USE OF THIS IS STRONGLY DISCOURAGED.
|
|
|
|
#
|
|
|
|
# WARNING: It outputs too much information to practically read.
|
|
|
|
# WARNING: The "log_filters" setting is recommended instead.
|
|
|
|
#
|
|
|
|
# WARNING: Journald applies rate limiting of messages and so libvirt
|
|
|
|
# WARNING: will limit "log_level" to only allow values 3 or 4 if
|
|
|
|
# WARNING: journald is the current output.
|
|
|
|
#
|
|
|
|
# WARNING: USE OF THIS IS STRONGLY DISCOURAGED.
|
2013-08-08 15:06:31 +00:00
|
|
|
#log_level = 3
|
|
|
|
|
|
|
|
# Logging filters:
|
|
|
|
# A filter allows to select a different logging level for a given category
|
2018-04-20 16:52:04 +00:00
|
|
|
# of logs. The format for a filter is one of:
|
|
|
|
#
|
|
|
|
# level:match
|
|
|
|
# level:+match
|
|
|
|
#
|
|
|
|
# where 'match' is a string which is matched against the category
|
|
|
|
# given in the VIR_LOG_INIT() at the top of each libvirt source
|
|
|
|
# file, e.g., "remote", "qemu", or "util.json". The 'match' in the
|
|
|
|
# filter matches using shell wildcard syntax (see 'man glob(7)').
|
|
|
|
# The 'match' is always treated as a substring match. IOW a match
|
|
|
|
# string 'foo' is equivalent to '*foo*'.
|
|
|
|
#
|
|
|
|
# If 'match' contains the optional "+" prefix, it tells libvirt
|
|
|
|
# to log stack trace for each message matching name.
|
|
|
|
#
|
|
|
|
# 'level' is the minimal level where matching messages should
|
|
|
|
# be logged:
|
|
|
|
#
|
2013-08-08 15:06:31 +00:00
|
|
|
# 1: DEBUG
|
|
|
|
# 2: INFO
|
|
|
|
# 3: WARNING
|
|
|
|
# 4: ERROR
|
|
|
|
#
|
2018-04-20 16:52:04 +00:00
|
|
|
# Multiple filters can be defined in a single @log_filters, they just need
|
|
|
|
# to be separated by spaces. Note that libvirt performs "first" match, i.e.
|
|
|
|
# if there are concurrent filters, the first one that matches will be applied,
|
|
|
|
# given the order in @log_filters.
|
|
|
|
#
|
|
|
|
# For the virtlockd daemon, a typical need is to capture information
|
|
|
|
# from the locking code and some of the utility code. Some utility
|
|
|
|
# code is very verbose and is generally not desired. A suitable filter
|
|
|
|
# string for debugging might be to turn off object, json & event logging,
|
|
|
|
# but enable the rest of the util and the locking code:
|
2013-08-08 15:06:31 +00:00
|
|
|
#
|
2018-04-20 16:52:04 +00:00
|
|
|
#log_filters="1:locking 4:object 4:json 4:event 1:util"
|
2013-08-08 15:06:31 +00:00
|
|
|
|
|
|
|
# Logging outputs:
|
|
|
|
# An output is one of the places to save logging information
|
|
|
|
# The format for an output can be:
|
2018-04-20 16:52:04 +00:00
|
|
|
# level:stderr
|
2013-08-08 15:06:31 +00:00
|
|
|
# output goes to stderr
|
2018-04-20 16:52:04 +00:00
|
|
|
# level:syslog:name
|
2013-08-08 15:06:31 +00:00
|
|
|
# use syslog for the output and use the given name as the ident
|
2018-04-20 16:52:04 +00:00
|
|
|
# level:file:file_path
|
2013-08-08 15:06:31 +00:00
|
|
|
# output to a file, with the given filepath
|
2018-04-20 16:52:04 +00:00
|
|
|
# level:journald
|
|
|
|
# output to journald logging system
|
|
|
|
# In all cases 'level' is the minimal priority, acting as a filter
|
2013-08-08 15:06:31 +00:00
|
|
|
# 1: DEBUG
|
|
|
|
# 2: INFO
|
|
|
|
# 3: WARNING
|
|
|
|
# 4: ERROR
|
|
|
|
#
|
2018-04-20 16:52:04 +00:00
|
|
|
# Multiple outputs can be defined, they just need to be separated by spaces.
|
2013-08-08 15:06:31 +00:00
|
|
|
# e.g. to log all warnings and errors to syslog under the virtlockd ident:
|
|
|
|
#log_outputs="3:syslog:virtlockd"
|
|
|
|
#
|
|
|
|
|
2013-08-19 11:38:23 +00:00
|
|
|
# The maximum number of concurrent client connections to allow
|
2018-03-21 16:41:10 +00:00
|
|
|
# on primary socket
|
2013-08-19 11:38:23 +00:00
|
|
|
# Each running virtual machine will require one open connection
|
|
|
|
# to virtlockd. So 'max_clients' will affect how many VMs can
|
|
|
|
# be run on a host
|
|
|
|
#max_clients = 1024
|
2018-01-19 14:54:00 +00:00
|
|
|
|
2018-03-21 16:41:10 +00:00
|
|
|
# The maximum number of concurrent client connections to allow
|
|
|
|
# on administrative socket
|
2018-01-19 14:54:00 +00:00
|
|
|
#admin_max_clients = 5
|