Skip to content

Commit

Permalink
Improve logging
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais committed Sep 4, 2024
1 parent fa6a9ab commit 9bf3040
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,11 @@ async def make_observations_for_file_entry_batch(
total_failure_count += failure_count

log.info(
f"finished batch ({len(file_entry_batch)} entries) in {tbatch.s:.3f} seconds"
f"finished batch for bucket_date={bucket_date}\n"
f" {len(file_entry_batch)} entries \n"
f" in {tbatch.s:.3f} seconds \n"
f" msmt/s: {total_measurement_count / tbatch.s}"
)
log.info(f"msmt/s: {total_measurement_count / tbatch.s}")
return total_measurement_count


Expand Down

0 comments on commit 9bf3040

Please sign in to comment.