Added more logging
Merge pull request #36 from tomdepplito/add_logging

Added more logging