Fix debug logging

various verbosity problems, and misleading output