Added some working logging statements (fixes #1)

Will fix tomorrow.