Skip to content

Commit f7d7a62

Browse files
committed
move some prints to trace
1 parent cc4bbaf commit f7d7a62

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/main/scala/io/viash/config/dependencies/Dependency.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ object Dependency extends Logging {
159159
def getSourceAndDestinationFromWrittenPath(dependencyPath: String, output: Path, repoPath: Path, mainDependency: Dependency, remoteLocalDependencyResolver: Option[(Path, Path, Path)]): (Path, Path) = {
160160
import scala.jdk.CollectionConverters._
161161

162-
logger.debug(s"getSourceAndDestinationFromWrittenPath: dependencyPath: $dependencyPath, output: $output, repoPath: $repoPath, mainDependency: $mainDependency, remoteLocalDependencyResolver: $remoteLocalDependencyResolver")
162+
logger.trace(s"getSourceAndDestinationFromWrittenPath: dependencyPath: $dependencyPath, output: $output, repoPath: $repoPath, mainDependency: $mainDependency, remoteLocalDependencyResolver: $remoteLocalDependencyResolver")
163163

164164
val defaultSourcePath = repoPath.resolve(dependencyPath)
165165
val (sourcePath, relativePath) = if (defaultSourcePath.toFile().exists()) {
@@ -199,15 +199,15 @@ object Dependency extends Logging {
199199
// Drop the other "target" folder from the found path. This can be multiple folders too
200200
val relativePath = Dependency.getRelativePath(sourcePath, repoPath)
201201
.fold(throw new MissingBuildYamlException(sourcePath, mainDependency))(identity)
202-
logger.debug(s"destinationPath case 1: output: $output, relativePath: $relativePath")
202+
logger.trace(s"destinationPath case 1: output: $output, relativePath: $relativePath")
203203
output.resolve(relativePath)
204204
} else if (remoteLocalDependencyResolver.isDefined && relativePath.isDefined) {
205-
logger.debug(s"destinationPath case 2: remoteLocalDependencyResolver._2: ${remoteLocalDependencyResolver.get._2}, relativePath: $relativePath")
205+
logger.trace(s"destinationPath case 2: remoteLocalDependencyResolver._2: ${remoteLocalDependencyResolver.get._2}, relativePath: $relativePath")
206206
remoteLocalDependencyResolver.get._2.resolve(relativePath.get)
207207
} else {
208208
val subPath = mainDependency.getRelativePath(sourcePath)
209209
.fold(throw new MissingBuildYamlException(sourcePath, mainDependency))(identity)
210-
logger.debug(s"destinationPath case 3: output: $output, subPath: $subPath")
210+
logger.trace(s"destinationPath case 3: output: $output, subPath: $subPath")
211211
output.resolve("dependencies").resolve(subPath)
212212
}
213213
logger.debug(s"Determined destination path: $destinationPath")

0 commit comments

Comments
 (0)