revise debug logging for problems I'm solving now