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

[Xen-changelog] xend prints out some messages when starting, which is annoying. This



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID eb98d18771ca54c4d1a796be52b4aef722b75925
# Parent  217fb2d1f364176571396fb7b4bf89222927631e
xend prints out some messages when starting, which is annoying. This
patch send those to xend log file instead - people want them always
know where to find them.

Signed-off-by: Nguyen Anh Quynh <aquynh@xxxxxxxxx>

diff -r 217fb2d1f364 -r eb98d18771ca tools/python/xen/xend/xenstore/xsobj.py
--- a/tools/python/xen/xend/xenstore/xsobj.py   Sat Aug  6 15:24:22 2005
+++ b/tools/python/xen/xend/xenstore/xsobj.py   Sat Aug  6 15:45:41 2005
@@ -307,24 +307,24 @@
         db = self.__db__
         if path is None:
             path = db.relPath()
-        print 'DBMap>introduceDomain>', dom, page, evtchn, path
+        log.info("DBMap>introduceDomain> %d %d %s %s" %(dom, page, evtchn, 
path))
         try:
             db.introduceDomain(dom, page, evtchn, path)
         except Exception, ex:
             import traceback
             traceback.print_exc()
-            print 'DBMap>introduceDomain>', ex
+            log.info("DBMap>introduceDomain> %s" %ex)
             pass # todo: don't ignore
         
     def releaseDomain(self, dom):
         db = self.__db__
-        print 'DBMap>releaseDomain>', dom
+        log.info("DBMap>releaseDomain> %d" %dom)
         try:
             db.releaseDomain(dom)
         except Exception, ex:
             import traceback
             traceback.print_exc()
-            print 'DBMap>releaseDomain>', ex
+            log.info("DBMap>releaseDomain> %s" %ex)
             pass # todo: don't ignore
 
     def watch(self, fn, path=""):

_______________________________________________
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®.