logging.config and {-style formatting

Discussion in 'Python' started by Andrew Berg, Sep 19, 2011.

  1. Andrew Berg

    Andrew Berg Guest

    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
     
    Andrew Berg, Sep 19, 2011
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Christoph Haas
    Replies:
    0
    Views:
    450
    Christoph Haas
    Jun 12, 2006
  2. Christoph Haas
    Replies:
    1
    Views:
    457
    Vinay Sajip
    Jun 14, 2006
  3. CSharpner
    Replies:
    0
    Views:
    1,048
    CSharpner
    Apr 9, 2007
  4. Ken Varn
    Replies:
    0
    Views:
    473
    Ken Varn
    Apr 26, 2004
  5. Herman
    Replies:
    0
    Views:
    181
    Herman
    Feb 19, 2012
Loading...

Share This Page