From 19f7424c6221f08314ba3fce2745c28162427adc Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Sun, 23 Apr 2017 12:58:32 -0700 Subject: [PATCH] GUACAMOLE-278: Log unhandled/invalid sequences at DEBUG level. --- src/terminal/terminal_handlers.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/terminal/terminal_handlers.c b/src/terminal/terminal_handlers.c index ecb60e97..7f7aee86 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; iclient, 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; }