Explorar o código

better logging

Chelsea H. Komlo %!s(int64=4) %!d(string=hai) anos
pai
achega
6f6a5e9765
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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