T
8

That logging library tutorial had me stuck for 3 nights straight

Last week I tried to follow a Python logging tutorial from some blog and ended up with logs appearing twice or not at all. The example used dictConfig with handlers and formatters, but the comments just said 'copy this' without explaining anything. Has anyone else hit that wall where the sample code works on their machine but breaks the second you tweak one value?
1 comments

Log in to join the discussion

Log In
1 Comment
julia_fisher28
Literally spent a whole weekend fighting the same thing, tweaked one formatter name and suddenly nothing showed up. Those tutorials act like dictConfig is magic but never tell you the setup order matters.
6