Added logging statements
Details for debuging
Merge pull request #2 from chetankothari/master

debug statements added