summaryrefslogtreecommitdiffstats
path: root/tests/migration/guestperf/shell.py
diff options
context:
space:
mode:
authorEduardo Habkost2017-09-27 15:03:37 +0200
committerEduardo Habkost2017-10-11 20:15:17 +0200
commitfb3b4e6d88120da41ae553853b281214f7aac7cf (patch)
tree31683875ed1c86d4a3c7d93a2c4993d2e4b4558e /tests/migration/guestperf/shell.py
parentiotests: Set up Python logging (diff)
downloadqemu-fb3b4e6d88120da41ae553853b281214f7aac7cf.tar.gz
qemu-fb3b4e6d88120da41ae553853b281214f7aac7cf.tar.xz
qemu-fb3b4e6d88120da41ae553853b281214f7aac7cf.zip
basevm: Call logging.basicConfig()
Just setting level=DEBUG when debug is enabled is not enough: we need to set up a log handler if we want debug messages generated using logging.getLogger(...).debug() to be printed. This was not a problem before because logging.debug() calls logging.basicConfig() implicitly, but it's safer to not rely on that. Cc: "Alex Bennée" <alex.bennee@linaro.org> Cc: Fam Zheng <famz@redhat.com> Cc: "Philippe Mathieu-Daudé" <f4bug@amsat.org> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Message-Id: <20170927130339.21444-4-ehabkost@redhat.com> Reviewed-by: Daniel P. Berrange <berrange@redhat.com> Reviewed-by: Fam Zheng <famz@redhat.com> Reviewed-by: Lukáš Doktor <ldoktor@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'tests/migration/guestperf/shell.py')
0 files changed, 0 insertions, 0 deletions