Demote [sig files written]

It gets ridiculous seeing the screen fill up with [sig files written] after a while.
Here's a quick hack to demote that stuff.
This commit is contained in:
Eugene Yokota 2020-09-13 17:54:36 -04:00
parent 8053ebea73
commit 350a6af6ef
1 changed files with 9 additions and 3 deletions

View File

@ -70,10 +70,16 @@ class BuildServerReporter(
}
override def logInfo(problem: Problem): Unit = {
publishDiagnostic(problem)
// demote this message https://github.com/scala/bug/issues/12097
val sigFilesWritten = "[sig files written]"
if (problem.message == sigFilesWritten) {
logger.debug(sigFilesWritten)
} else {
publishDiagnostic(problem)
// console channel can keep using the xsbi.Problem
logger.infoEvent(problem)
// console channel can keep using the xsbi.Problem
logger.infoEvent(problem)
}
}
private def publishDiagnostic(problem: Problem): Unit = {