ia64/xen-unstable

changeset 6049:eb98d18771ca

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>
author kaf24@firebug.cl.cam.ac.uk
date Sat Aug 06 15:45:41 2005 +0000 (2005-08-06)
parents 217fb2d1f364
children d3e7327954db
files tools/python/xen/xend/xenstore/xsobj.py
line diff
     1.1 --- a/tools/python/xen/xend/xenstore/xsobj.py	Sat Aug 06 15:24:22 2005 +0000
     1.2 +++ b/tools/python/xen/xend/xenstore/xsobj.py	Sat Aug 06 15:45:41 2005 +0000
     1.3 @@ -307,24 +307,24 @@ class DBMap(dict):
     1.4          db = self.__db__
     1.5          if path is None:
     1.6              path = db.relPath()
     1.7 -        print 'DBMap>introduceDomain>', dom, page, evtchn, path
     1.8 +        log.info("DBMap>introduceDomain> %d %d %s %s" %(dom, page, evtchn, path))
     1.9          try:
    1.10              db.introduceDomain(dom, page, evtchn, path)
    1.11          except Exception, ex:
    1.12              import traceback
    1.13              traceback.print_exc()
    1.14 -            print 'DBMap>introduceDomain>', ex
    1.15 +            log.info("DBMap>introduceDomain> %s" %ex)
    1.16              pass # todo: don't ignore
    1.17          
    1.18      def releaseDomain(self, dom):
    1.19          db = self.__db__
    1.20 -        print 'DBMap>releaseDomain>', dom
    1.21 +        log.info("DBMap>releaseDomain> %d" %dom)
    1.22          try:
    1.23              db.releaseDomain(dom)
    1.24          except Exception, ex:
    1.25              import traceback
    1.26              traceback.print_exc()
    1.27 -            print 'DBMap>releaseDomain>', ex
    1.28 +            log.info("DBMap>releaseDomain> %s" %ex)
    1.29              pass # todo: don't ignore
    1.30  
    1.31      def watch(self, fn, path=""):