Switch to a real logger

Fixes #11