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>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2005-08-06 15:45:41 +00:00
1 parent 1271b79339
commit 652bdea7c1
1 file changed
+4 -4
+4 -4
View File
@@ -307,24 +307,24 @@ class DBMap(dict):
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=""):
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.