From 92443f762721194fafc5530bcd637a951ac0d8b4 Mon Sep 17 00:00:00 2001 From: Hector Sanjuan Date: Tue, 20 Sep 2011 22:59:21 +0200 Subject: [PATCH] Log to stderr VNC proxy command when starting it (cherry picked from commit 8ff6baf1090c6a3696cf6d0cd2277e9e8538a15d) --- src/sunstone/models/SunstoneServer.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sunstone/models/SunstoneServer.rb b/src/sunstone/models/SunstoneServer.rb index 02283816a4..03c73d4576 100644 --- a/src/sunstone/models/SunstoneServer.rb +++ b/src/sunstone/models/SunstoneServer.rb @@ -229,6 +229,8 @@ class SunstoneServer begin novnc_cmd = "#{config[:novnc_path]}/utils/wsproxy.py" + novnc_exec = "#{novnc_cmd} #{proxy_port} #{host}:#{vnc_port}" + $stderr.puts("Starting vnc proxy: #{novnc_exec}") pipe = IO.popen("#{novnc_cmd} #{proxy_port} #{host}:#{vnc_port}") rescue Exception => e error = Error.new(e.message)