Adds a couple debugging log statements.