Skip to content

Commit

Permalink
reinstate info logs in path processor (#2765)
Browse files Browse the repository at this point in the history
  • Loading branch information
kenoir authored Nov 15, 2024
1 parent f7ecb34 commit b77461d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,19 @@ object PathsProcessor extends Logging {
): Source[(Batch, List[Long]), NotUsed] = {
val selectors = Selector.forPaths(paths)
val groupedSelectors = selectors.groupBy(_._1.rootPath)
debug(
info(
s"Generated ${selectors.size} selectors spanning ${groupedSelectors.size} trees from ${paths.size} paths."
)
paths.sorted.grouped(1000).toList.zipWithIndex.foreach {
case (paths, idx) =>
val startIdx = idx * 1000 + 1
debug(
info(
s"Input paths ($startIdx-${startIdx + paths.length - 1}): ${paths.mkString(", ")}"
)
}
groupedSelectors.foreach {
case (rootPath, selectors) =>
debug(
info(
s"Selectors for root path $rootPath: ${selectors.map(_._1).mkString(", ")}"
)
}
Expand Down

0 comments on commit b77461d

Please sign in to comment.