diff --git a/run/src/main/scala/sbt/TrapExit.scala b/run/src/main/scala/sbt/TrapExit.scala index def4caebc..c61df5ab7 100644 --- a/run/src/main/scala/sbt/TrapExit.scala +++ b/run/src/main/scala/sbt/TrapExit.scala @@ -381,7 +381,7 @@ private final class TrapExit(delegateManager: SecurityManager) extends SecurityM } private[this] def interruptAllThreads(app: App): Unit = - app processThreads { t => if(!isSystemThread(t)) safeInterrupt(t, app.log) else println(s"Not interrupting system thread $t") } + app processThreads { t => if(!isSystemThread(t)) safeInterrupt(t, app.log) else app.log.debug(s"Not interrupting system thread $t") } /** Gets the managed application associated with Thread `t` */ private[this] def getApp(t: Thread): Option[App] =