3 ms·
I agree maybe on one point. Most of the logging messages are useless. Part of this is the old adage "Half of my X is wasted effort but I don't know which half"
by praptak 7y ago
I agree maybe on one point. Most of the logging messages are useless.
Part of this is the old adage "Half of my X is wasted effort but I don't know which half" but there is still a class of log messages which should not exist.
What I'm talking about is when I'm too lazy to think how to handle a condition. What I sometimes do is half assed effort to handle and, "obviously", log it. This gives the false feeling that the condition is handled.
In reality now I have two problems: a poorly handled condition and possibly log spam.
That said, logging in general is great. I found a tricky resource leak by investigating logging rate anomalies.