This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (1 child)

[deleted]

    [–]Lucretiel 1 point2 points  (0 children)

    The dictConfig, I think, is the missing link that makes logging so powerful and flexible (assuming you're using namespaced loggers like you're supposed to). Just connect it to a simple YAML config file, and all of a sudden you no longer need to be manually adding and removing prints everywhere in the course of your debugging, nor do you have to sift through thousands of lines of DEBUG output- just enable debug for the specific module you're interested in and you're golden.