Fix logging levels

Fixes #801