Browse code

Change the libvirtd log level to DEBUG

Gate tests fail sometimes due to libvirt problems, but it is difficult
to investigate their reasons or workarounds because there is not any
log about libvirt.
This patch changes the log level of libvirtd to DEBUG for investigating
libvirt problems.

Change-Id: Ib6559ff978fa813d0332f2339d241dd3437196ee
Related-Bug: #1254872

Ken'ichi Ohmichi authored on 2013/12/25 22:14:11
Showing 1 changed files
... ...
@@ -93,6 +93,9 @@ EOF"
93 93
         fi
94 94
     fi
95 95
 
96
+    # Change the libvirtd log level to DEBUG.
97
+    sudo sed -i s/"#log_level = 3"/"log_level = 1"/ /etc/libvirt/libvirtd.conf
98
+
96 99
     # The user that nova runs as needs to be member of **libvirtd** group otherwise
97 100
     # nova-compute will be unable to use libvirt.
98 101
     if ! getent group $LIBVIRT_GROUP >/dev/null; then