Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 2
    That's certainly true but the framework clearly allows for custom levels. DEBUG is level 10 so there's still some room between 1..9 :) I'm just not sure how to use such a custom level in a way that I can enable from a standard json logging setup file. I guess that's really my question... in fact I'll edit my original question to point that out that this is the part I need to figure out. Commented Jan 28, 2012 at 4:39
  • 2
    You're right, all I needed was the logging.addLevelName(5, "VERBOSE") call. I just wasn't sure where to put it. After placing it before the call to logging.config.dictConfig(...) it worked! Commented Jan 28, 2012 at 6:01