From 6a7540cf6f27951bccb4d59188bf537d5a9df2e0 Mon Sep 17 00:00:00 2001 From: Mark Harrah Date: Thu, 10 Jan 2013 16:06:12 -0500 Subject: [PATCH] Disable Ivy debug-level logging (see elaboration below). Fixes #635. The verbose-level logging is what usually contains relevant information for the user. Persisting the debug logging slows down update noticeably and clutters the more useful debug logging output from verbose. --- ivy/src/main/scala/sbt/IvyLogger.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ivy/src/main/scala/sbt/IvyLogger.scala b/ivy/src/main/scala/sbt/IvyLogger.scala index 1d68e7e3a..acd07781b 100644 --- a/ivy/src/main/scala/sbt/IvyLogger.scala +++ b/ivy/src/main/scala/sbt/IvyLogger.scala @@ -21,7 +21,9 @@ private final class IvyLoggerInterface(logger: Logger) extends MessageLogger case MSG_ERR => error(msg) } } - def debug(msg: String) = logger.debug(msg) + //DEBUG level messages are very verbose and rarely useful to users. + // TODO: provide access to this information some other way + def debug(msg: String) {} def verbose(msg: String) = logger.verbose(msg) def deprecated(msg: String) = warn(msg) def info(msg: String) = logger.info(msg)