# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1202208010 0
# Node ID df6b8bed284500d767a21f843e99bc55ab25ae7c
# Parent def2adbce510a31711f22cf15f5afe51f875e3ea
xend: Scrub vnc password for vfb from xend.log.
Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
---
tools/python/xen/xend/server/DevController.py | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff -r def2adbce510 -r df6b8bed2845
tools/python/xen/xend/server/DevController.py
--- a/tools/python/xen/xend/server/DevController.py Tue Feb 05 10:39:35
2008 +0000
+++ b/tools/python/xen/xend/server/DevController.py Tue Feb 05 10:40:10
2008 +0000
@@ -22,6 +22,7 @@ from xen.xend import sxp, XendOptions
from xen.xend import sxp, XendOptions
from xen.xend.XendError import VmError
from xen.xend.XendLogging import log
+import xen.xend.XendConfig
from xen.xend.xenstore.xstransact import xstransact, complete
from xen.xend.xenstore.xswatch import xswatch
@@ -113,10 +114,10 @@ class DevController:
raise VmError("Device %s is already connected." % dev_str)
if count == 0:
- log.debug('DevController: writing %s to %s.', str(front),
- frontpath)
- log.debug('DevController: writing %s to %s.', str(back),
- backpath)
+ log.debug('DevController: writing %s to %s.',
+ str(front), frontpath)
+ log.debug('DevController: writing %s to %s.',
+ str(xen.xend.XendConfig.scrub_password(back)),
backpath)
elif count % 50 == 0:
log.debug(
'DevController: still waiting to write device entries.')
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|