You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by jm...@apache.org on 2017/04/27 04:15:22 UTC

[5/9] incubator-guacamole-server git commit: GUACAMOLE-278: Log unhandled/invalid sequences at DEBUG level.

GUACAMOLE-278: Log unhandled/invalid sequences at DEBUG level.


Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/commit/19f7424c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/tree/19f7424c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/diff/19f7424c

Branch: refs/heads/master
Commit: 19f7424c6221f08314ba3fce2745c28162427adc
Parents: 87fba52
Author: Michael Jumper <mj...@apache.org>
Authored: Sun Apr 23 12:58:32 2017 -0700
Committer: Michael Jumper <mj...@apache.org>
Committed: Sun Apr 23 13:52:07 2017 -0700

----------------------------------------------------------------------
 src/terminal/terminal_handlers.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/blob/19f7424c/src/terminal/terminal_handlers.c
----------------------------------------------------------------------
diff --git a/src/terminal/terminal_handlers.c b/src/terminal/terminal_handlers.c
index ecb60e9..7f7aee8 100644
--- a/src/terminal/terminal_handlers.c
+++ b/src/terminal/terminal_handlers.c
@@ -367,7 +367,8 @@ int guac_terminal_escape(guac_terminal* term, unsigned char c) {
             break;
 
         default:
-            guac_client_log(term->client, GUAC_LOG_INFO, "Unhandled ESC sequence: %c", c);
+            guac_client_log(term->client, GUAC_LOG_DEBUG,
+                    "Unhandled ESC sequence: %c", c);
             term->char_handler = guac_terminal_echo; 
 
     }
@@ -1011,11 +1012,11 @@ int guac_terminal_csi(guac_terminal* term, unsigned char c) {
             default:
                 if (c != ';') {
 
-                    guac_client_log(term->client, GUAC_LOG_INFO,
+                    guac_client_log(term->client, GUAC_LOG_DEBUG,
                             "Unhandled CSI sequence: %c", c);
 
                     for (i=0; i<argc; i++)
-                        guac_client_log(term->client, GUAC_LOG_INFO,
+                        guac_client_log(term->client, GUAC_LOG_DEBUG,
                                 " -> argv[%i] = %i", i, argv[i]);
 
                 }
@@ -1182,7 +1183,8 @@ int guac_terminal_osc(guac_terminal* term, unsigned char c) {
 
     /* Stop on unrecognized character */
     else {
-        guac_client_log(term->client, GUAC_LOG_INFO, "Unexpected character in OSC: 0x%X", c);
+        guac_client_log(term->client, GUAC_LOG_DEBUG,
+                "Unexpected character in OSC: 0x%X", c);
         term->char_handler = guac_terminal_echo;
     }