mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
bitkeeper revision 1.1419 (4288b44f4jmaJGEAjpgklKaura3Q9g)
SrvServer.py: Use log.info to output unix server address. Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
This commit is contained in:
1 parent
12f9bc2314
commit
a511447ae4
1 file changed
+2
-1
@@ -31,6 +31,7 @@ from xen.web.httpserver import HttpServer, UnixHttpServer
|
||||
|
||||
from xen.xend import XendRoot; xroot = XendRoot.instance()
|
||||
from xen.xend import Vifctl
|
||||
from xen.xend.XendLogging import log
|
||||
from xen.web.SrvDir import SrvDir
|
||||
|
||||
from SrvRoot import SrvRoot
|
||||
@@ -59,6 +60,6 @@ def create():
|
||||
servers.add(HttpServer(root=root, interface=interface, port=port))
|
||||
if xroot.get_xend_unix_server():
|
||||
path = xroot.get_xend_unix_path()
|
||||
print 'unix path=', path
|
||||
log.info('unix path=' + path)
|
||||
servers.add(UnixHttpServer(path=path, root=root))
|
||||
return servers
|
||||