View XMLRPC Requests/Responses?

draghuram at gmail.com draghuram at gmail.com
Mon Oct 15 12:37:49 EDT 2007


On Oct 15, 12:31 pm, "draghu... at gmail.com" <draghu... at gmail.com>
wrote:
> On Oct 15, 11:07 am, xkenneth <xkenn... at gmail.com> wrote:
>
> > Hi,
>
> >     I'm working on developing an XML-RPC interface from LabVIEW to
> > python and I would really like to see how python is forming it's XML-
> > RPC requests/responses. Is there any way I can force these to a log or
> > print them to the screen? Thanks.
>
> You may try setting verbose to True as in:
>
> s = xmlrpclib.Server('http://localhost:8000', verbose=True)
>
> This will cause both requests and responses to be printed.

This only works from the client side. On reading your post again, it
appears as though you are looking for server side logging. Of course,
you can still write a small python xmlrpc client (setting verbose) to
see the requests/responses.





More information about the Python-list mailing list