Custom handler for logging

Peter Otten __peter__ at web.de
Wed Sep 3 09:26:21 EDT 2008


Luigi Paioro wrote:

> concerning the logging module, I have written a new Handler which stores
> the logging messages in an SQLite database. It works well, but when I
> try to use it exploiting a configuration file I have a problem since the
> "class" entry does not accept a class which is not within the logging
> name-space, while the class I implemented is coded in my personal module
> (thus another name-space).
> 
> Is there a workaround to allow the usage of custom handlers?

Maybe

http://mail.python.org/pipermail/python-list/2003-October/232762.html

Peter



More information about the Python-list mailing list