[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-3.2-testing] xend: Scrub vnc password for vfb from xend.log.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1202291918 0
# Node ID b01f5d834755e443aa61add49cbdaa37a883f02f
# Parent  6493b8b7c39c9b73e55538e6d61428de78c5b651
xend: Scrub vnc password for vfb from xend.log.
Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
xen-unstable changeset:   16978:df6b8bed284500d767a21f843e99bc55ab25ae7c
xen-unstable date:        Tue Feb 05 10:40:10 2008 +0000
---
 tools/python/xen/xend/server/DevController.py |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff -r 6493b8b7c39c -r b01f5d834755 
tools/python/xen/xend/server/DevController.py
--- a/tools/python/xen/xend/server/DevController.py     Wed Feb 06 09:57:17 
2008 +0000
+++ b/tools/python/xen/xend/server/DevController.py     Wed Feb 06 09:58:38 
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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.