diff --git a/ansible/roles/nova-cell/templates/libvirtd.conf.j2 b/ansible/roles/nova-cell/templates/libvirtd.conf.j2 index e094a5b2de..1c9b3ebe43 100644 --- a/ansible/roles/nova-cell/templates/libvirtd.conf.j2 +++ b/ansible/roles/nova-cell/templates/libvirtd.conf.j2 @@ -12,6 +12,11 @@ auth_tcp = "none" tcp_port = "{{ nova_libvirt_port }}" ca_file = "" {% endif %} +{% if nova_logging_debug | bool %} +log_level = 1 +log_outputs = "1:file:/var/log/kolla/libvirt/libvirtd.log" +{% else %} log_level = 3 log_outputs = "3:file:/var/log/kolla/libvirt/libvirtd.log" +{% endif %} listen_addr = "{{ migration_interface_address }}"