[X2Go-Commits] x2gobroker.git - master (branch) updated: 0.0.2.3-50-g632a954

X2Go dev team git-admin at x2go.org
Wed Oct 2 16:58:17 CEST 2013


The branch, master has been updated
       via  632a954598d35de61d9e77d2bc716ccb52763622 (commit)
      from  8fdd01bba121b8947da6dd2da8208bc7e9804026 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 632a954598d35de61d9e77d2bc716ccb52763622
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Oct 2 16:46:53 2013 +0200

    promote agent calls to loglevel INFO

-----------------------------------------------------------------------

Summary of changes:
 x2gobroker/agent.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

The diff of changes is:
diff --git a/x2gobroker/agent.py b/x2gobroker/agent.py
index a334382..914dd9d 100644
--- a/x2gobroker/agent.py
+++ b/x2gobroker/agent.py
@@ -91,7 +91,7 @@ def call_local_broker_agent(username, mode, cmdline_args=[]):
     for cmdline_arg in cmdline_args:
         cmd_line.append('\'{arg}\''.format(arg=cmdline_arg))
 
-    logger_broker.debug('Executing agent command locally: {cmd}'.format(cmd=" ".join(cmd_line)))
+    logger_broker.info('Executing agent command locally: {cmd}'.format(cmd=" ".join(cmd_line)))
     result = ['FAILED']
     try:
         agent_process = subprocess.Popen(cmd_line,
@@ -153,7 +153,7 @@ def call_remote_broker_agent(username, mode, cmdline_args=[], remote_agent=None)
         if ssh_transport and ssh_transport.is_authenticated():
             cmd = ' '.join(cmd_line)
             cmd = 'sh -c \"{cmd}\"'.format(cmd=cmd)
-            logger_broker.debug('Executing agent command on remote host ({remote_agent}): {cmd}'.format(remote_agent=remote_agent['hostname'], cmd=cmd))
+            logger_broker.info('Executing agent command on remote host ({remote_agent}): {cmd}'.format(remote_agent=remote_agent['hostname'], cmd=cmd))
             (stdin, stdout, stderr) = client.exec_command(cmd)
             result = stdout.read().split('\n')
             err = stderr.read().replace('\n', ' ')


hooks/post-receive
-- 
x2gobroker.git (HTTP(S) Session broker for X2Go)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "x2gobroker.git" (HTTP(S) Session broker for X2Go).




More information about the x2go-commits mailing list