adding logging to troubleshoot
Merge pull request #1 from rshade/master

adding logging to troubleshoot