add a bit more detail to debug logging