aboutsummaryrefslogtreecommitdiff
path: root/scripts/qemu.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/qemu.py')
-rw-r--r--scripts/qemu.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/qemu.py b/scripts/qemu.py
index 2b5c2ac..c9a106f 100644
--- a/scripts/qemu.py
+++ b/scripts/qemu.py
@@ -89,6 +89,9 @@ class QEMUMachine(object):
self._qmp = None
self._qemu_full_args = None
+ # just in case logging wasn't configured by the main script:
+ logging.basicConfig(level=(logging.DEBUG if debug else logging.WARN))
+
def __enter__(self):
return self