I've had a similar requiredment and made a small tool for direct logging into databases (see: http://sourceforge.net/projects/rrlog/ )
It's origins are somewhat older than the Python 2.3 standard logging framework, so it can be used without that (but can also be simply integrated with it.) It even does some more than you currently need (log rotation and remote logging). Ratsberg -- http://mail.python.org/mailman/listinfo/python-list