
Bad logs are as dangerous as bugs in production
A normal workday. The system has a critical failure. The whole team runs to check the logs, and at that moment, they see that the logs have too much unnecessary information. This makes it hard to find the real point of failure. In some cases, logs have too little information. This forces the Dev and/or QA to debug the system, recreating the same conditions where the error happened to try to find the cause. In worse situations, there is no log at that point in the system. Who has never experienced something like this? Logs are rarely treated as critical points during architecture, code review, and validation phases. They should be. Logs are like home insurance: you only care when something bad happens. In my more than 20 years of experience, I have rarely seen teams treat logs the way they should. From a QA perspective, analyzing logs often feels like being Indiana Jones — doing archaeology work. Most of the time, logs are not structured and not objective. It becomes a tiring task: uncl
Continue reading on Dev.to
Opens in a new tab



