I have the following code:
from suds.client import Client import logging logging.basicConfig(level=logging.INFO) logging.getLogger(\'suds.client\').setLevel
To get only the generated message this also works:
from suds.client import Client import sys SB_PRIVATE_ACCESS = {"PATH":"https://thisurl.com:443/services/",} client = Client(SB_PRIVATE_ACCESS['PATH']) client.set_options(nosend=True) resp = ...... sys.stdout.buffer.write(resp.envelope)