mirror of https://github.com/sbt/sbt.git
Demote "Done updating." log to debug level
This commit is contained in:
parent
c316c80093
commit
1465604f8c
|
|
@ -154,7 +154,7 @@ object Package {
|
|||
}
|
||||
def makeJar(sources: Seq[(File, String)], jar: File, manifest: Manifest, log: Logger): Unit = {
|
||||
val path = jar.getAbsolutePath
|
||||
log.info("Packaging " + path + " ...")
|
||||
log.debug("Packaging " + path + " ...")
|
||||
if (jar.exists)
|
||||
if (jar.isFile)
|
||||
IO.delete(jar)
|
||||
|
|
@ -162,7 +162,7 @@ object Package {
|
|||
sys.error(path + " exists, but is not a regular file")
|
||||
log.debug(sourcesDebugString(sources))
|
||||
IO.jar(sources, jar, manifest)
|
||||
log.info("Done packaging.")
|
||||
log.debug("Done packaging.")
|
||||
}
|
||||
def sourcesDebugString(sources: Seq[(File, String)]): String =
|
||||
"Input file mappings:\n\t" + (sources map { case (f, s) => s + "\n\t " + f } mkString ("\n\t"))
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ private[sbt] object LibraryManagement {
|
|||
def resolve: UpdateReport = {
|
||||
import sbt.util.ShowLines._
|
||||
|
||||
log.info(s"Updating $label...")
|
||||
log.debug(s"Updating $label...")
|
||||
val reportOrUnresolved: Either[UnresolvedWarning, UpdateReport] =
|
||||
lm.update(module, updateConfig, uwConfig, log)
|
||||
val report = reportOrUnresolved match {
|
||||
|
|
@ -49,7 +49,7 @@ private[sbt] object LibraryManagement {
|
|||
unresolvedWarning.lines.foreach(log.warn(_))
|
||||
throw unresolvedWarning.resolveException
|
||||
}
|
||||
log.info("Done updating.")
|
||||
log.debug(s"Done updating $label")
|
||||
val finalReport = transform(report)
|
||||
|
||||
// Warn of any eviction and compatibility warnings
|
||||
|
|
|
|||
Loading…
Reference in New Issue