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

[Xen-changelog] [xen-unstable] xend: Remove XendLogging dependency from a couple of generally useful



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1211363828 -3600
# Node ID 5d4eac11e14f7a753f918042d93bab1b39792597
# Parent  d795e15b85a788d0389d24963897cf480dcab0e9
xend: Remove XendLogging dependency from a couple of generally useful
support modules.

Signed-off-by: Zhigang Wang <zhigang.x.wang@xxxxxxxxxx>
---
 tools/python/xen/util/blkif.py            |    2 --
 tools/python/xen/xend/xenstore/xswatch.py |    4 +---
 2 files changed, 1 insertion(+), 5 deletions(-)

diff -r d795e15b85a7 -r 5d4eac11e14f tools/python/xen/util/blkif.py
--- a/tools/python/xen/util/blkif.py    Wed May 21 10:38:57 2008 +0100
+++ b/tools/python/xen/util/blkif.py    Wed May 21 10:57:08 2008 +0100
@@ -1,8 +1,6 @@ import os
 import os
 import re
 import string
-
-from xen.xend.XendLogging import log
 
 def expand_dev_name(name):
     if not name:
diff -r d795e15b85a7 -r 5d4eac11e14f tools/python/xen/xend/xenstore/xswatch.py
--- a/tools/python/xen/xend/xenstore/xswatch.py Wed May 21 10:38:57 2008 +0100
+++ b/tools/python/xen/xend/xenstore/xswatch.py Wed May 21 10:57:08 2008 +0100
@@ -8,8 +8,6 @@ import errno
 import errno
 import threading
 from xen.xend.xenstore.xsutil import xshandle
-
-from xen.xend.XendLogging import log
 
 
 class xswatch:
@@ -76,7 +74,7 @@ def watchMain():
                     else:
                         raise
         except:
-            log.exception("read_watch failed")
+            pass
             # Ignore this exception -- there's no point throwing it
             # further on because that will just kill the watcher thread,
             # which achieves nothing.

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.