Program debugging: Why I use the log.
The debugger is a trap.
The goal is to find and fix the issue as quickly as possible.
Almost all problems can usually be solved by looking at the existing log messages. However, finding and eliminating errors is difficult unless you understand what the log message tells you. I have diagnosed problems using the logs on systems where…