[X2Go-Commits] [x2goclient] 02/05: improve debugging messages

git-admin at x2go.org git-admin at x2go.org
Fri Jan 9 21:34:22 CET 2015


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2goclient.

commit b19e0152a3eebd53cdb8c94380d47860dcc2caec
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Fri Jan 9 21:29:51 2015 +0100

    improve debugging messages
---
 httpbrokerclient.cpp |    2 +-
 sshprocess.cpp       |    4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/httpbrokerclient.cpp b/httpbrokerclient.cpp
index 9eb7a43..736f5e7 100644
--- a/httpbrokerclient.cpp
+++ b/httpbrokerclient.cpp
@@ -279,7 +279,7 @@ void HttpBrokerClient::getUserSessions()
 
 void HttpBrokerClient::selectUserSession(const QString& session)
 {
-    x2goDebug<<"called selectUserSession";
+    x2goDebug<<"Called selectUserSession for session "<<session<<".";
     QString brokerUser=config->brokerUser;
     if(mainWindow->getUsePGPCard())
         brokerUser=mainWindow->getCardLogin();
diff --git a/sshprocess.cpp b/sshprocess.cpp
index 6ad7579..5fa43d6 100755
--- a/sshprocess.cpp
+++ b/sshprocess.cpp
@@ -217,6 +217,8 @@ void SshProcess::startNormal(const QString& cmd)
 #endif
                           QString::number(masterCon->getPort())+" -l "+
                           masterCon->getUser()+" "+ host +  " \""+shcmd+"\"";
+
+        x2goDebug<<"evoking ssh command via SshProcess object ("<<pid<<"): "<<sshString<<endl;
         procUuid=uuidStr;
         proc->start(sshString);
 
@@ -224,7 +226,7 @@ void SshProcess::startNormal(const QString& cmd)
         {
             stdErrString=proc->errorString();
 #ifdef DEBUG
-            x2goDebug<<"ssh start failed:" <<stdErrString<<endl;
+            //x2goDebug<<"ssh start failed:" <<stdErrString<<endl;
 #endif
             slotChannelClosed(this, uuidStr);
             return;

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git


More information about the x2go-commits mailing list