Merge "Enabled debug logging functionality for libvirt"

This commit is contained in:
Jenkins 2016-04-21 01:53:57 +00:00 committed by Gerrit Code Review
commit a86e111d41
2 changed files with 7 additions and 0 deletions

View File

@ -324,6 +324,7 @@ nova_service_in_ldap: false
nova_libvirtd_listen_tls: 1
nova_libvirtd_listen_tcp: 0
nova_libvirtd_auth_tcp: sasl
nova_libvirtd_debug_log_filters: "3:remote 4:event 3:json 3:rpc"
## Service Names
nova_service_names:

View File

@ -1,5 +1,11 @@
# {{ 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_tcp = {{ nova_libvirtd_listen_tcp }}
unix_sock_group = "libvirtd"