소스 검색

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