Skip to content

Commit 8b8e23c

Browse files
authored
I-ALiRT - update logs (#1067)
1 parent 2a9cc26 commit 8b8e23c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sds_data_manager/lambda_code/IAlirtCode/ialirt_ingest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ def process_algorithms( # noqa: PLR0915
362362
logger.info("Processing HIT.")
363363
result = process_func(combined)
364364

365-
logger.info("%s result: %s", instrument, result)
365+
logger.info("[%s] results populated for [%s]", len(result), instrument)
366366

367367
if any(result) and all(result):
368368
if table_name == "ialirt-algorithm-table":
@@ -680,7 +680,7 @@ def lambda_handler(event, context):
680680

681681
if filenames:
682682
logger.info("Found %d files to process", len(filenames))
683-
logger.info("Parsing packets.")
683+
logger.info(f"Parsing packet files: {filenames}")
684684
# Get packets into datasets and combine.
685685
combined = parse_packets(filenames, bucket, Path("/tmp")) # noqa: S108
686686
logger.info("Packets parsed. Processing algorithms.")

0 commit comments

Comments
 (0)