From 54064096d239fbd2a1f9212629cf4c7b0c934bb2 Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Thu, 27 Sep 2012 18:57:50 +0200 Subject: [PATCH] tsm: vte: be less verbose about unhandled escapes 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 --- src/tsm_vte.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tsm_vte.c b/src/tsm_vte.c index aed3039..358d610 100644 --- a/src/tsm_vte.c +++ b/src/tsm_vte.c @@ -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); } } -- 2.7.4