Skip to content

Commit

Permalink
Ensure appropriate log level
Browse files Browse the repository at this point in the history
  • Loading branch information
raghumdani committed Sep 28, 2024
1 parent 1a7a559 commit 173116d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deltacat/compute/compactor/model/delta_annotated.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def rebatch(
# (i.e. the previous compaction round ran a rebase)
if new_da and src_da.locator != new_da.locator:
groups.append(new_da)
logger.info(
logger.debug(
f"Due to different delta locator, Appending group of {da_group_entry_count} elements "
f"and {new_da_bytes} bytes"
)
Expand All @@ -133,12 +133,12 @@ def rebatch(
or da_group_entry_count >= min_file_counts
):
if new_da_bytes >= min_delta_bytes:
logger.info(
logger.debug(
f"Appending group of {da_group_entry_count} elements "
f"and {new_da_bytes} bytes to meet file size limit"
)
if da_group_entry_count >= min_file_counts:
logger.info(
logger.debug(
f"Appending group of {da_group_entry_count} elements "
f"and {da_group_entry_count} files to meet file count limit"
)
Expand Down

0 comments on commit 173116d

Please sign in to comment.