logging.config and {-style formatting

Andrew Berg bahamutzero8825 at gmail.com
Mon Sep 19 18:38:32 EDT 2011


Is it possible to use {-style formatting with a logging config file? I
can add style='{' to a logging.Formatter() call and it works fine, but I
see no way of doing this from a config file. I tried adding a style
option in the config file, but it has no effect. I see no mention of the
{-style in the logging.config docs, so am I right to assume {-style
formatting is not implemented in logging.config?

-- 
CPython 3.2.2 | Windows NT 6.1.7601.17640 | Thunderbird 6.0.2



More information about the Python-list mailing list