All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix noisy message of xend
@ 2005-08-06 15:42 aq
  0 siblings, 0 replies; only message in thread
From: aq @ 2005-08-06 15:42 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 328 bytes --]

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@gmail.com>


# diffstat xsobj.patch 
 xsobj.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

[-- Attachment #2: xsobj.patch --]
[-- Type: application/octet-stream, Size: 1251 bytes --]

diff -r b63577ff53a3 tools/python/xen/xend/xenstore/xsobj.py
--- a/tools/python/xen/xend/xenstore/xsobj.py	Fri Aug  5 14:57:43 2005
+++ b/tools/python/xen/xend/xenstore/xsobj.py	Sun Aug  7 00:36:27 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=""):

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-08-06 15:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-06 15:42 [PATCH] fix noisy message of xend aq

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.