Re: [Python-Dev] A proposal: configuring logging using dictionaries

2009-10-18 Thread Vinay Sajip
Nick Coghlan gmail.com> writes: > My other question is whether or not it would be worth having the logging > module able to export it's *current* configuration in dictionary form. I > don't have a use case other than that it might be useful for debugging > logging configuration errors when attemp

Re: [Python-Dev] A proposal: configuring logging using dictionaries

2009-10-17 Thread Vinay Sajip
Vinay Sajip yahoo.co.uk> writes: > Perhaps TypeError, too. Sorry, brainfade there. I already mentioned TypeError in the original post :-) ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscr

Re: [Python-Dev] A proposal: configuring logging using dictionaries

2009-10-17 Thread Vinay Sajip
Nick Coghlan gmail.com> writes: > Since part of the purpose of this new configuration option is to allow > other projects to use it as a target for specifying a logging > configuration, maintaining it as a formal PEP seems like a good idea to > me. This is already done for a few other standard-is

Re: [Python-Dev] A proposal: configuring logging using dictionaries

2009-10-17 Thread Nick Coghlan
Vinay Sajip wrote: > A little while ago, I posted here a suggestion about a new way to configure > logging, using dictionaries. This received some positive and no negative > feedback, so I have thought some more about the details of how it might work. > I > present below the results of that thinki

[Python-Dev] A proposal: configuring logging using dictionaries

2009-10-17 Thread Vinay Sajip
A little while ago, I posted here a suggestion about a new way to configure logging, using dictionaries. This received some positive and no negative feedback, so I have thought some more about the details of how it might work. I present below the results of that thinking, in a PEP-style format. I d