From 87a1c06b84f83aa740632b3f756da5b8c3a877fa Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Thu, 26 Mar 2020 13:16:22 +0100 Subject: [PATCH] nova: Add debug logging to libvirtd.conf Change-Id: Ibbb962b035b695eec022566cf9f7d6c200480c45 --- ansible/roles/nova-cell/templates/libvirtd.conf.j2 | 5 +++++ 1 file changed, 5 insertions(+) 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 }}"