openstack-ansible-os_nova/templates/libvirtd.conf.j2
Jean-Philippe Evrard 9aebefb416 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
2016-04-18 17:02:22 +01:00

17 lines
509 B
Django/Jinja

# {{ 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"
unix_sock_ro_perms = "0777"
unix_sock_rw_perms = "0770"
auth_unix_ro = "none"
auth_unix_rw = "none"
auth_tcp = "{{ nova_libvirtd_auth_tcp }}"