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

updates logging to debug issue.