a  python  tools test log send and receive