Skip to content

Commit 53e9c3a

Browse files
committed
json pprint
1 parent 1c8e0ce commit 53e9c3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/forge/observability/metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ async def log_samples(self, samples: Dict[str, List[dict]], step: int) -> None:
921921
logger.info(f"========== SAMPLE LOGS STEP {step} ==========")
922922
for table_name, table_rows in samples.items():
923923
logger.info(f"[{table_name}] ({len(table_rows)} samples)")
924-
logger.info(json.dumps(table_rows))
924+
logger.info(json.dumps(table_rows, indent=2, ensure_ascii=False))
925925
logger.info("==============================================\n")
926926

927927

0 commit comments

Comments
 (0)