Skip to content

Commit 60ae48b

Browse files
committed
fix(logging): Further reduce logs
1 parent bb85e11 commit 60ae48b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/satellite_consumer/consume.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,14 +233,14 @@ def _not_stored(product: eumdac.product.Product) -> bool:
233233
total_num += 1
234234

235235
if isinstance(item, xr.Dataset):
236-
log.info(f"pulled image for timestamp {pd.Timestamp(item.time.item())}")
236+
log.debug(f"pulled image for timestamp {pd.Timestamp(item.time.item())}")
237237
results.append(item)
238238

239239
# If we've reached the write block size, concat the datasets and write out
240240
if len(results) == accum_writes:
241241
ds = xr.concat(results, dim="time") if accum_writes > 1 else results[0]
242242

243-
log.info(f"saving last {accum_writes} accumulated images")
243+
log.debug(f"saving last {accum_writes} accumulated images")
244244

245245
storage.write_to_store(
246246
ds=ds,
@@ -292,7 +292,7 @@ def _not_stored(product: eumdac.product.Product) -> bool:
292292
if len(results) > 0:
293293
ds = xr.concat(results, dim="time") if accum_writes > 1 else results[0]
294294

295-
log.info(f"saving last {accum_writes} accumulated images")
295+
log.debug(f"saving last {accum_writes} accumulated images")
296296

297297
storage.write_to_store(
298298
ds=ds,

0 commit comments

Comments
 (0)