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: Remove XendLogging dependency from

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xend: Remove XendLogging dependency from a couple of generally useful
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 21 May 2008 08:20:08 -0700
Delivery-date: Wed, 21 May 2008 08:20:07 -0700
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 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xend: Remove XendLogging dependency from a couple of generally useful, Xen patchbot-unstable <=