WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [XEND] Silence Xen API debugging messages

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [XEND] Silence Xen API debugging messages.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 06 Nov 2006 16:50:17 +0000
Delivery-date: Mon, 06 Nov 2006 08:50:47 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Alastair Tse <atse@xxxxxxxxxxxxx>
# Node ID f64cc6f50f6ee4d5035c618c8f446ddb74eb90d7
# Parent  82e3575e7588d6c118ce0f18d494c81ebdc63ab0
[XEND] Silence Xen API debugging messages.

Signed-off-by: Alastair Tse <atse@xxxxxxxxxxxxx>
---
 tools/python/xen/xend/XendAPI.py |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff -r 82e3575e7588 -r f64cc6f50f6e tools/python/xen/xend/XendAPI.py
--- a/tools/python/xen/xend/XendAPI.py  Fri Nov 03 10:26:36 2006 +0000
+++ b/tools/python/xen/xend/XendAPI.py  Fri Nov 03 10:38:18 2006 +0000
@@ -309,7 +309,8 @@ class XendAPI:
                     getter.api = '%s.get_%s' % (cls, attr_name)
                     setattr(XendAPI, getter_name, getter)
                 except AttributeError:
-                    log.warn("API call: %s not found" % getter_name)
+                    pass
+                    #log.warn("API call: %s not found" % getter_name)
 
             # wrap validators around writable class attrributes
             for attr_name in rw_attrs + self.Base_attr_rw:
@@ -321,7 +322,8 @@ class XendAPI:
                     setter.api = '%s.set_%s' % (cls, attr_name)
                     setattr(XendAPI, setter_name, setter)
                 except AttributeError:
-                    log.warn("API call: %s not found" % setter_name)
+                    pass
+                    #log.warn("API call: %s not found" % setter_name)
 
             # wrap validators around methods
             for method_name in methods + self.Base_methods:
@@ -333,7 +335,8 @@ class XendAPI:
                     method.api = '%s.%s' % (cls, method_name)
                     setattr(XendAPI, method_full_name, method)
                 except AttributeError:
-                    log.warn('API call: %s not found' % method_full_name)
+                    pass
+                    #log.warn('API call: %s not found' % method_full_name)
 
             # wrap validators around class functions
             for func_name in funcs + self.Base_funcs:
@@ -344,7 +347,8 @@ class XendAPI:
                     method.api = '%s.%s' % (cls, func_name)
                     setattr(XendAPI, func_full_name, method)
                 except AttributeError:
-                    log.warn('API call: %s not found' % func_full_name)
+                    pass
+                    #log.warn('API call: %s not found' % func_full_name)
 
 
     Base_attr_ro = ['uuid']

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [XEND] Silence Xen API debugging messages., Xen patchbot-unstable <=