Logs I actually read
Writing log lines for the person who will be tired at 3 a.m.
In the end the fix was three lines, and the commit message was longer than the change.
The bug turned out to be a single character in a configuration file, which is how most of my long evenings end.
Writing the explanation here took longer than writing the code. It also made me find a second bug.
I rewrote the function twice before realising the original version was fine and the problem was in the input.
The documentation was correct; I simply read the version for a release three years older than mine.
If a script needs a manual, it probably needs to be simpler first.