qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RFC 20/24] avocado_qemu: Set QMP log level to INFO


From: Eduardo Habkost
Subject: [Qemu-devel] [RFC 20/24] avocado_qemu: Set QMP log level to INFO
Date: Fri, 20 Apr 2018 15:19:47 -0300

From: Amador Pahim <address@hidden>

Otherwise we will see the debug messages in our test logs.

Signed-off-by: Amador Pahim <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>
---
 tests/avocado/avocado_qemu/test.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/avocado/avocado_qemu/test.py 
b/tests/avocado/avocado_qemu/test.py
index b921151bae..308fdfa514 100644
--- a/tests/avocado/avocado_qemu/test.py
+++ b/tests/avocado/avocado_qemu/test.py
@@ -235,6 +235,7 @@ class _VM(qemu.QEMUMachine):
         self.username = username
         self.password = password
         super(_VM, self).__init__(qemu_bin, name=self.name, arch=arch)
+        logging.getLogger('QMP').setLevel(logging.INFO)
 
     def get_console(self, console_address=None, prompt=r"[\#\$] "):
         """
-- 
2.14.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]