From 616896e2a52e0223d83f2625f96c67093b88e463 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Fri, 29 Nov 2019 23:59:24 +0100 Subject: csi/ocs/vt: log unhandled/unrecognized sequences as debug messages Having them as error messages was nice when we where still missing lots of sequences. Now we don't anymore, and these just spam stdout as well as syslog when e.g. cat:ing binary data. --- csi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'csi.c') diff --git a/csi.c b/csi.c index a07267b1..07e0f543 100644 --- a/csi.c +++ b/csi.c @@ -18,8 +18,8 @@ #define min(x, y) ((x) < (y) ? (x) : (y)) -#define UNHANDLED() LOG_ERR("unhandled: %s", csi_as_string(term, final)) -#define UNHANDLED_SGR() LOG_ERR("unhandled: %s", csi_as_string(term, 'm')) +#define UNHANDLED() LOG_DBG("unhandled: %s", csi_as_string(term, final)) +#define UNHANDLED_SGR() LOG_DBG("unhandled: %s", csi_as_string(term, 'm')) static void sgr_reset(struct terminal *term) -- cgit v1.3