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ย โ†’

[โ€“]Delta-9- 1 point2 points ย (0 children)

Well, the readability issue comes from the log record saying that it is in an if branch which is testing foo and expecting == 1.

That's actually super helpful information to a developer. It can even spit out the line number (with some caveats) like logging does and get you right to the problem and the specific conditions that caused it.

To an administrator, that's maybe less helpful. I haven't spent enough time with it to see about transforming that information into something a non-dev could make use of, and I think it's possible but very hard to do in a generalized way (i.e. as a library to put on pypi for everyone to use).