Fix debug logging rotted by #801.

I need this to debug another patch.