tsm: vte: be less verbose about unhandled escapes
authorDavid Herrmann <dh.herrmann@googlemail.com>
Thu, 27 Sep 2012 16:57:50 +0000 (18:57 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Thu, 27 Sep 2012 16:57:50 +0000 (18:57 +0200)
This converts a warning into a debug message to avoid spending too much
time in the logger when parsing unknown content. This speeds up "cat
/dev/urandom" by like 1000x.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/tsm_vte.c

index aed3039..358d610 100644 (file)
@@ -736,7 +736,7 @@ static void do_execute(struct tsm_vte *vte, uint32_t ctrl)
                /* nothing to do here */
                break;
        default:
-               llog_warn(vte, "unhandled control char %u", ctrl);
+               llog_debug(vte, "unhandled control char %u", ctrl);
        }
 }