using configobj string interpolation and logging.config.dictConfig
Peter Otten
__peter__ at web.de
Fri May 26 12:25:50 EDT 2017
Tim Williams wrote:
> I've spent too much time trying to track this down. I'll just hard-code my
> filename in my INI file. Maybe I'll get back to it, but I need to move on.
The only alternative I see would be to build your own InterpolationEngine
which understands some kind of escaping so that e. g.
format = '%%(asctime)s: (%%(levelname)s) %%(message)s'
would become
format = '%(asctime)s: (%(levelname)s) %(message)s'
when you invoke the dict() method.
More information about the Python-list
mailing list