Logging hotfix

Fixes #261. It will be easy for me to do a follow-up to bring this functionality to the develop branch as well.