aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-02-05 10:40:10 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-02-05 10:40:10 +0000
commitae9093a33f56a3f3140aa96c04acc0049228afc3 (patch)
tree1d008faed34f0e12c9bc19416944e6d56ed6d036 /tools
parent3ad6af357a3dab88d57fe13e18b917f9017d5683 (diff)
downloadxen-ae9093a33f56a3f3140aa96c04acc0049228afc3.tar.gz
xen-ae9093a33f56a3f3140aa96c04acc0049228afc3.tar.bz2
xen-ae9093a33f56a3f3140aa96c04acc0049228afc3.zip
xend: Scrub vnc password for vfb from xend.log.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/python/xen/xend/server/DevController.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/python/xen/xend/server/DevController.py b/tools/python/xen/xend/server/DevController.py
index 58c3500c9f..8e70c376f7 100644
--- a/tools/python/xen/xend/server/DevController.py
+++ b/tools/python/xen/xend/server/DevController.py
@@ -22,6 +22,7 @@ import types
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.')