tweak logging, as suggested by @mjdominus

fixes #1