[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [gettor/master] Log checks temporarily
commit 356f68a4a7fea6d6cd26c32dbe1091cd6b580463
Author: hiro <hiro@xxxxxxxxxxxxxx>
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(
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits