From 9551be492cc5ffae484c7d608aa8e2e7475c6c1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sat, 30 Nov 2019 00:12:30 +0100 Subject: [PATCH] csi/vt: don't bad client data as errors This gets rid of spam when cat:ing binary data. --- csi.c | 2 +- vt.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/csi.c b/csi.c index 07e0f543..a80db797 100644 --- a/csi.c +++ b/csi.c @@ -775,7 +775,7 @@ csi_dispatch(struct terminal *term, uint8_t final) } default: - LOG_WARN("ignoring %s", csi_as_string(term, final)); + LOG_DBG("ignoring %s", csi_as_string(term, final)); break; } break; diff --git a/vt.c b/vt.c index f6db24d5..b7f5b884 100644 --- a/vt.c +++ b/vt.c @@ -953,7 +953,7 @@ action(struct terminal *term, enum action _action, uint8_t c) else if (term->vt.private[1] == 0) term->vt.private[1] = c; else - LOG_ERR("only two private/intermediate characters supported"); + LOG_DBG("only two private/intermediate characters supported"); break; case ACTION_ESC_DISPATCH: