mirror of https://github.com/sbt/sbt.git
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:
parent
d826e93ddf
commit
6aa1333adb
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue