Re:My Logging Best Practices (2020)
by bobbyi on Tuesday October 05, 2021 @02:29PM
(#28763534)
Yes. I think logging before is still useful, but it is for hangs, not exceptions.
If your program disappears into a black hole doing some operation that doesn't have (and needs) a timeout specified, you want to know what it was about to do when you last heard from it.
If your program disappears into a black hole doing some operation that doesn't have (and needs) a timeout specified, you want to know what it was about to do when you last heard from it.