does logging.config support extension handlers?

Vinay Sajip vinay_sajip at yahoo.co.uk
Tue Sep 7 16:50:10 EDT 2004


"j vickroy" <jim.vickroy at noaa.gov> wrote in message news:<chid39$bhc$1 at boulder.noaa.gov>...
> It seems that custom handlers (i.e., any not included with the logging
> package distribution) can not be used in configuration files.
> 
> Is that correct?
> 
> If incorrect, could someone point me to a simple example?  I can not get
> this to work.
> 
> The only possibly relevant statement I have found in the documentation is:
> 
> " The class entry indicates the handler's class (as determined by eval() in
> the logging package's namespace). "
> 
> about midway in section "6.28.7.2 Configuration file format".
> 

I believe I answered this already:

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&newwindow=1&selm=2e37dc1.0408240605.2d7848fd%40posting.google.com

(The long URL may wrap)

Regards

Vinay Sajip



More information about the Python-list mailing list