瀏覽代碼

better logging

Chelsea H. Komlo 4 年之前
父節點
當前提交
6f6a5e9765
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      relay.py

+ 1 - 1
relay.py

@@ -540,7 +540,7 @@ class SinglePassCreatedRelayHandler:
         # Remove ourselves from handling a second
         # SinglePassCreatedCircuitCell on this circuit
         circhandler.replace_celltype_handler(SinglePassCreatedCircuitCell, None)
-        logging.debug("Sending SinglePassCreatedCell")
+        logging.debug("Sending a SinglePassCreatedCell after receiving one from %s; my ttl is %s", self.next_snip.snipdict['addr'], str(self.ttl))
 
         # Just forward a SinglePassCreatedCircuitCell back towards the
         # client