DBHandler class for logging?

Vinay Sajip vinay_sajip at yahoo.co.uk
Wed Sep 23 07:32:57 EDT 2009


See my answer to a question on Stack Overflow, which has the source
code for a simple handler which writes to a database using the Python
DB-API 2.0:

http://stackoverflow.com/questions/935930/creating-a-logging-handler-to-connect-to-oracle/1014450#1014450

Although the question relates to Oracle, my answer is not so specific.
It's not production quality code but it should get you started.

Regards,

Vinay Sajip



More information about the Python-list mailing list