From 140ce0480908cb60735a780e8b4d530935edbdf1 Mon Sep 17 00:00:00 2001 From: Mark Harrah Date: Thu, 5 Dec 2013 12:00:00 -0500 Subject: [PATCH] Fix #1024. Use log.debug instead of println in TrapExit. --- run/src/main/scala/sbt/TrapExit.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] =