Custom handler for logging

Luigi Paioro luigi at lambrate.inaf.it
Wed Sep 3 09:54:20 EDT 2008


Thanks, it works perfectly!

Luigi

Peter Otten ha scritto:
> 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