Start using Python logging

agentx.pdu still use print