There are many ways to do it, but almost anything is massively better than nothing. There are few things more wasteful in a long debugging session than running down a long, unfruitful debug path multiple times because you weren't sure you checked that hypothesis before. If you keep a log, you'll KNOW, or at least be able to check.