Custom handler for logging

Luigi Paioro luigi at lambrate.inaf.it
Wed Sep 3 08:31:02 EDT 2008


Dear all,

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?

Thanks in advance.

Luigi



More information about the Python-list mailing list