Enabled debug logging functionality for libvirt
When debug: True is set, libvirt doesn't extend its logging. This commit extends the logging, following the practices listed in http://wiki.libvirt.org/page/DebugLogs. Log destination isn't changed. Change-Id: I4f0c6794884d6a611ca2a4e6aefb279c5fa1816f Closes-Bug: #1418586
This commit is contained in:
parent
9b987450e4
commit
9aebefb416
@ -317,6 +317,7 @@ nova_service_in_ldap: false
|
|||||||
nova_libvirtd_listen_tls: 1
|
nova_libvirtd_listen_tls: 1
|
||||||
nova_libvirtd_listen_tcp: 0
|
nova_libvirtd_listen_tcp: 0
|
||||||
nova_libvirtd_auth_tcp: sasl
|
nova_libvirtd_auth_tcp: sasl
|
||||||
|
nova_libvirtd_debug_log_filters: "3:remote 4:event 3:json 3:rpc"
|
||||||
|
|
||||||
## Service Names
|
## Service Names
|
||||||
nova_service_names:
|
nova_service_names:
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
# {{ ansible_managed }}
|
# {{ ansible_managed }}
|
||||||
|
|
||||||
|
{% if debug | bool %}
|
||||||
|
# enabling debug mode according to http://wiki.libvirt.org/page/DebugLogs
|
||||||
|
log_level = 1
|
||||||
|
log_filters="{{ nova_libvirtd_debug_log_filters }}"
|
||||||
|
log_outputs="1:file:/var/log/libvirt/libvirtd.log"
|
||||||
|
{% endif %}
|
||||||
listen_tls = {{ nova_libvirtd_listen_tls }}
|
listen_tls = {{ nova_libvirtd_listen_tls }}
|
||||||
listen_tcp = {{ nova_libvirtd_listen_tcp }}
|
listen_tcp = {{ nova_libvirtd_listen_tcp }}
|
||||||
unix_sock_group = "libvirtd"
|
unix_sock_group = "libvirtd"
|
||||||
|
Loading…
Reference in New Issue
Block a user