From 095179b51623522f35cc1a2f46dd01ddc5e8d685 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 6 Apr 2016 17:44:49 +0100 Subject: [PATCH] tests/qemu: boot-analysis: (Don't) set LIBVIRT_LOG_FILTERS. Setting LIBVIRT_LOG_FILTERS is supposed to be better than setting LIBVIRT_DEBUG, but I couldn't get it to work. This updates commit b332d91bc9685e8992ede2c8a10655f26fd0395e. (cherry picked from commit f24753ebb01ac96c092ee11aaa3f08df40d7ca00) --- tests/qemu/boot-analysis.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/qemu/boot-analysis.c b/tests/qemu/boot-analysis.c index 2a43976..444226c 100644 --- a/tests/qemu/boot-analysis.c +++ b/tests/qemu/boot-analysis.c @@ -686,6 +686,8 @@ libvirt_log_hack (int argc, char **argv) /* Create the environment variables to enable logging in libvirt. */ setenv ("LIBVIRT_DEBUG", "1", 1); + //setenv ("LIBVIRT_LOG_FILTERS", + // "1:qemu 1:securit 3:file 3:event 3:object 1:util", 1); snprintf (log_outputs, sizeof log_outputs, "1:file:/dev/fd/%d", libvirt_pipe[1]); setenv ("LIBVIRT_LOG_OUTPUTS", log_outputs, 1); -- 1.8.3.1