Added a few more debug log lines.