From ffe0f98360854fea32f88bda3c41c4ce02726ed9 Mon Sep 17 00:00:00 2001 From: bennykok Date: Thu, 1 Feb 2024 20:56:28 +0800 Subject: [PATCH] chore: log out data for debugging --- custom_routes.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/custom_routes.py b/custom_routes.py index c019ba6..f6698a9 100644 --- a/custom_routes.py +++ b/custom_routes.py @@ -275,6 +275,9 @@ def update_run(prompt_id, status: Status): log_data = log_file.read() # Update the last read line number last_read_line_number += log_data.count('\n') + print("last_read_line_number", last_read_line_number) + print("log_data", log_data) + print("log_data.count(n)", log_data.count('\n')) body = { "run_id": prompt_id,