From ec13490d0bfa602be0cb08bb1cdbd9d55e2c14b4 Mon Sep 17 00:00:00 2001
From: BoYanZh <boyanzh233@gmail.com>
Date: Sun, 8 Jun 2025 03:09:39 -0400
Subject: [PATCH] chore: more logs

---
 joint_teapot/teapot.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/joint_teapot/teapot.py b/joint_teapot/teapot.py
index c8e6e0d..4e10ca1 100644
--- a/joint_teapot/teapot.py
+++ b/joint_teapot/teapot.py
@@ -309,6 +309,7 @@ class Teapot:
             since = now - timedelta(hours=time_period)
             time_windows.append(since)
             valid_items.append((name, max_count, time_period, since))
+        logger.info(f"valid items: {valid_items}, time windows: {time_windows}")
         all_commits = []
         if time_windows:
             earliest_since = min(time_windows).strftime("%Y-%m-%dT%H:%M:%S")
@@ -337,6 +338,7 @@ class Teapot:
                         "groups": [g.strip() for g in commit_groups],
                     }
                 )
+        logger.info(f"all commits length: {len(all_commits)}")
         for name, max_count, time_period, since in valid_items:
             submit_count = 0
             time_limit = now - timedelta(hours=time_period)