From 4392b442da24fdaaf9b65590c38db7f57b00a59c Mon Sep 17 00:00:00 2001 From: NikkyAI Date: Wed, 28 Nov 2018 17:57:35 +0100 Subject: [PATCH] reduce info logging --- core/src/main/kotlin/matterlink/api/MessageHandler.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/kotlin/matterlink/api/MessageHandler.kt b/core/src/main/kotlin/matterlink/api/MessageHandler.kt index e853d8c..3648270 100644 --- a/core/src/main/kotlin/matterlink/api/MessageHandler.kt +++ b/core/src/main/kotlin/matterlink/api/MessageHandler.kt @@ -164,7 +164,7 @@ open class MessageHandler : CoroutineScope { .responseString() when (result) { is Result.Success -> { - logger.info("sent $it") + logger.debug("sent $it") sendErrors = 0 } is Result.Failure -> { @@ -206,7 +206,7 @@ open class MessageHandler : CoroutineScope { reader.useLines { lines -> lines.forEach { line -> val msg = ApiMessage.decode(line) - logger.info("received: $msg") + logger.debug("received: $msg") if (msg.event != "api_connect") { messageStream.send(msg) }