Skip to contentSkip to conversation

XendRoot::logDebug message format fix

PATCH New aq 1 participant 1 message May 27, 2005

lore
Share & tools
lore

aq

author
#0 lore raw

PATCH 1/1 XendRoot::logDebug message format fix

XendRoot::logDebug wrongly set the message format to 'info', instead of 'debug'. this problem happens with all the trees: stable, testing and unstable. so here is 3 patches for 3 trees to fix it.

note:
- patch for testing tree is against [email protected] (in fact this patch is same as stable patch)
- patch for unstable tree is against [email protected]

$ diffstat xendroot_logdebug.stable.patch 
 XendRoot.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
$ diffstat xendroot_logdebug.testing.patch 
 XendRoot.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
$ diffstat xendroot_logdebug.unstable.patch 
 XendRoot.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
tools/python/xen/xend/XendRoot.py +1 -1
diff -Nurp xen-2.0.6.org/tools/python/xen/xend/XendRoot.py xen-2.0.6/tools/python/xen/xend/XendRoot.py
@@ -119,7 +119,7 @@ class XendRoot:
         @param fmt: message format
         @param args: arguments
         """
-        self._log('info', fmt, args)
+        self._log('debug', fmt, args)
         
     def logInfo(self, fmt, *args):
         """Log an info message.

===== tools/python/xen/xend/XendRoot.py 1.18 vs edited =====

tools/python/xen/xend/XendRoot.py +1 -1
@@ -119,7 +119,7 @@
         @param fmt: message format
         @param args: arguments
         """
-        self._log('info', fmt, args)
+        self._log('debug', fmt, args)
         
     def logInfo(self, fmt, *args):
         """Log an info message.

===== tools/python/xen/xend/XendRoot.py 1.22 vs edited =====

tools/python/xen/xend/XendRoot.py +1 -1
@@ -138,7 +138,7 @@
         @param fmt: message format
         @param args: arguments
         """
-        self._log('info', fmt, args)
+        self._log('debug', fmt, args)
         
     def logInfo(self, fmt, *args):
         """Log an info message.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel