Good option for debuggers.
from p2p_python.config import Debug
Debug.P_PRINT_EXCEPTION = False # print full exception info
Debug.P_SEND_RECEIVE_DETAIL = False # print send/receive msg info
Debug.F_RECODE_TRAFFIC = False # recode traffic recode to file
You can switch debug option online.