Don't log systemOut messages in jsonRpcNotify

Whatever debugging utility these may have is not worth spamming the task
logs with these.
This commit is contained in:
Ethan Atkins 2020-07-09 12:26:02 -07:00
parent d826e93ddf
commit 6aa1333adb
1 changed files with 1 additions and 1 deletions

View File

@ -611,7 +611,7 @@ final class NetworkChannel(
private[sbt] def jsonRpcNotify[A: JsonFormat](method: String, params: A): Unit = {
val m =
JsonRpcNotificationMessage("2.0", method, Option(Converter.toJson[A](params).get))
log.debug(s"jsonRpcNotify: $m")
if (method != Serialization.systemOut) log.debug(s"jsonRpcNotify: $m")
val bytes = Serialization.serializeNotificationMessage(m)
publishBytes(bytes)
}