finish logging

fixes #66