reduce info logging

This commit is contained in:
NikkyAI 2018-11-28 17:57:35 +01:00
parent ecbb95391f
commit 4392b442da
1 changed files with 2 additions and 2 deletions

View File

@ -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)
}