updates logging to debug issue.
Merge pull request #4 from birkin/master

updates logging to debug issue.