Improve/add debug logging messages.