does logging.config support extension handlers?

J

j vickroy

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".



Thanks,

-- jv
 
V

Vinay Sajip

j vickroy said:
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/[email protected]

(The long URL may wrap)

Regards

Vinay Sajip
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,206
Messages
2,571,069
Members
47,674
Latest member
scazeho

Latest Threads

Top