tweaks to debug logging.

Signed-off-by: Joe Buck <jbbuck@gmail.com>