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

[libvirt] [PATCH 2/2] tests: Honor LIBVIRT_{DEBUG, LOG_*} variables



---
 tests/testutils.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/tests/testutils.c b/tests/testutils.c
index 8171f10..9ed67ec 100644
--- a/tests/testutils.c
+++ b/tests/testutils.c
@@ -466,6 +466,7 @@ int virtTestMain(int argc,
         virRandomInitialize(time(NULL) ^ getpid()))
         return 1;
 
+    virLogSetFromEnv();
     if (virLogDefineOutput(virtTestLogOutput, virtTestLogClose, &testLog,
                            0, 0, NULL, 0) < 0)
         return 1;
-- 
1.7.3.1


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