[Libvirt-cim] [PATCH] [TEST] Run basicConfig() on logger to make python-2.4 happy

Dan Smith danms at us.ibm.com
Mon Mar 31 17:55:12 UTC 2008


# HG changeset patch
# User Dan Smith <danms at us.ibm.com>
# Date 1206986099 25200
# Node ID bde349d23ce5320d7c593e57df45335dcae62df8
# Parent  ace377826c9c8f3b034f5c696ffb71dfb163d77b
[TEST] Run basicConfig() on logger to make python-2.4 happy

Signed-off-by: Dan Smith <danms at us.ibm.com>

diff -r ace377826c9c -r bde349d23ce5 lib/CimTest/Globals.py
--- a/lib/CimTest/Globals.py	Mon Mar 31 10:54:26 2008 -0700
+++ b/lib/CimTest/Globals.py	Mon Mar 31 10:54:59 2008 -0700
@@ -50,6 +50,7 @@ CIM_PORT = "5988"
 CIM_PORT = "5988"
 NM = "TEST LOG"
 platform_sup = ["Xen", "KVM", "XenFV"]
+logging.basicConfig()
 logger = logging.getLogger(NM)
 logging.PRINT = logging.DEBUG + 50
 logging.addLevelName(logging.PRINT, "PRINT")




More information about the Libvirt-cim mailing list