[tor-commits] [gettor/master] Log checks temporarily

hiro at torproject.org hiro at torproject.org
Fri Oct 18 10:41:18 UTC 2019


commit 356f68a4a7fea6d6cd26c32dbe1091cd6b580463
Author: hiro <hiro at torproject.org>
Date:   Fri Oct 18 12:41:13 2019 +0200

    Log checks temporarily
---
 gettor/parse/email.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gettor/parse/email.py b/gettor/parse/email.py
index 31afb1e..52d97ec 100644
--- a/gettor/parse/email.py
+++ b/gettor/parse/email.py
@@ -244,6 +244,10 @@ class EmailParser(object):
                 hid, num_requests[0][0], email_requests_limit
             )
 
+            log.msg("check: {}".format(check), system="email parser")
+            log.msg("hid: {}".format(hid), system="email parser")
+            log.msg("request['id']: {}".format(request['id']), system="email parser")
+
             if check:
                 log.msg(
                     "Discarded. Too many requests from {}.".format(



More information about the tor-commits mailing list