[Twisted-web] Logging error messages

Rasjid Wilcox rasjidw at openminddev.net
Mon Jul 11 02:41:56 MDT 2005


Hi,

I have written an XMLRPC server with Twisted-Web (following 
http://twistedmatrix.com/projects/web/documentation/examples/xmlrpc.py).

I have used a python (2.3) logger to record what is happening, but I am 
unclear how to get errors that occur within the xmlrpc procedure calls to be 
logged to the logger.

I have had a look at twisted.web.xmlrpc, and I guess I could overwrite 
_ebRender, or I could do something perhaps with the twisted.python.log 
module.

I'm still very new to Twisted, and have no idea what is the 'right' way to 
proceed.

Any feedback would be appreciated.

Thanks,

Rasjid.

-- 
Rasjid Wilcox
Melbourne, Australia (UTC +10 hrs)



More information about the Twisted-web mailing list